X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FUtil%2FDateTimeFormat.php;h=a1eb749948fcea4ea8047923942411a43dd71b5d;hb=51ebb1541a62c0fd691d995326d61775cc7d61d3;hp=eefbfcf7bc597db5e12609b8e79b897873985d4a;hpb=2a431b580f2e8f6a596e84175932e793678cde63;p=friendica.git diff --git a/src/Util/DateTimeFormat.php b/src/Util/DateTimeFormat.php index eefbfcf7bc..a1eb749948 100644 --- a/src/Util/DateTimeFormat.php +++ b/src/Util/DateTimeFormat.php @@ -31,9 +31,10 @@ use Exception; */ class DateTimeFormat { - const ATOM = 'Y-m-d\TH:i:s\Z'; + 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 HTTP = 'D, d M Y H:i:s \G\M\T'; + const JSON = 'Y-m-d\TH:i:s.v\Z'; /** * convert() shorthand for UTC.