Skip to content

Commit

Permalink
remove strftime as it is deprecated as of php 8.1
Browse files Browse the repository at this point in the history
  • Loading branch information
pk-fr committed Apr 24, 2022
1 parent ff7fd96 commit ae70b7d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions include/classes/config.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// Author: Pascal KISSIAN
// Resume: http://pascal.kissian.net
//
// Copyright (c) 2015-2020 Pascal KISSIAN
// Copyright (c) 2015-2022 Pascal KISSIAN
//
// Published under the MIT License
// Consider it as a proof of concept!
Expand Down Expand Up @@ -115,7 +115,7 @@ function __construct()
public function get_comment()
{
global $yakpro_po_version;
$now = strftime("%F %T");
$now = date('Y-m-d H:i:s');

return sprintf($this->comment,$yakpro_po_version,$now);
}
Expand Down
6 changes: 3 additions & 3 deletions version.php
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
<?php
//========================================================================
// Author: Pascal KISSIAN
// Resume: http://pascal.kissian.net
// Resume: https://pascal.kissian.net
//
// Copyright (c) 2015-2020 Pascal KISSIAN
// Copyright (c) 2015-2021 Pascal KISSIAN
//
// Published under the MIT License
// Consider it as a proof of concept!
// No warranty of any kind.
// Use and abuse at your own risks.
//========================================================================

$yakpro_po_version = "2.0.13";
$yakpro_po_version = "2.0.14";

?>

0 comments on commit ae70b7d

Please sign in to comment.