mirror of
https://github.com/friendica/friendica
synced 2025-04-29 14:24:22 +02:00
Move Temporal::convert() to DateTimeFormat::convert()
This commit is contained in:
parent
b7a7355292
commit
5e7285b9ba
64 changed files with 568 additions and 551 deletions
|
@ -5,7 +5,7 @@
|
|||
namespace Friendica\Database;
|
||||
|
||||
use dba;
|
||||
use Friendica\Util\Temporal;
|
||||
use Friendica\Util\DateTimeFormat;
|
||||
|
||||
require_once 'include/dba.php';
|
||||
|
||||
|
@ -127,6 +127,6 @@ class DBM
|
|||
$timestamp = -62135596800;
|
||||
}
|
||||
|
||||
return date(Temporal::MYSQL, (int)$timestamp);
|
||||
return date(DateTimeFormat::MYSQL, (int)$timestamp);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue