]> git.mxchange.org Git - friendica.git/commitdiff
Use the proper way to display milliseconds
authorMichael <heluecht@pirati.ca>
Wed, 2 Jun 2021 03:19:55 +0000 (03:19 +0000)
committerMichael <heluecht@pirati.ca>
Wed, 2 Jun 2021 03:19:55 +0000 (03:19 +0000)
src/Util/DateTimeFormat.php

index d2a96d0357193e67a083d5a9a3cfdb00f849279b..292fc6150f6137e764f322a50afffd3e934c339b 100644 (file)
@@ -34,7 +34,7 @@ class DateTimeFormat
        const ATOM  = 'Y-m-d\TH:i:s\Z';
        const MYSQL = 'Y-m-d H:i:s';
        const HTTP  = 'D, d M Y H:i:s \G\M\T';
-       const API   = 'Y-m-d\TH:i:s.000\Z';
+       const API   = 'Y-m-d\TH:i:s.v\Z';
 
        /**
         * convert() shorthand for UTC.