]> git.mxchange.org Git - friendica.git/blobdiff - src/Util/DateTimeFormat.php
- Revert HTTPSignature change
[friendica.git] / src / Util / DateTimeFormat.php
index eefbfcf7bc597db5e12609b8e79b897873985d4a..a1eb749948fcea4ea8047923942411a43dd71b5d 100644 (file)
@@ -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.