From 12f5384a1e6c881415a195367c7dfbfc1b56b88d Mon Sep 17 00:00:00 2001 From: Brian Sweeney Date: Wed, 1 Dec 2021 12:37:15 -0500 Subject: [PATCH] Replace strftime with date --- src/FontLib/BinaryStream.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/FontLib/BinaryStream.php b/src/FontLib/BinaryStream.php index ab10454..ea53ab0 100644 --- a/src/FontLib/BinaryStream.php +++ b/src/FontLib/BinaryStream.php @@ -282,7 +282,7 @@ public function readLongDateTime() { $date = 0; } - return strftime("%Y-%m-%d %H:%M:%S", $date); + return date("Y-m-d H:i:s", $date); } public function writeLongDateTime($data) {