Use the proper way to display milliseconds

This commit is contained in:
Michael 2021-06-02 03:19:55 +00:00
parent 1088376172
commit 4e164690d5

View 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.