2016-08-22 18:53:33 +00:00
|
|
|
# This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
# file, You can obtain one at https://mozilla.org/MPL/2.0/.
|
|
|
|
|
|
|
|
# ISO 8601 formats
|
2016-10-22 15:11:44 +00:00
|
|
|
year-monthnum-fullday['T'hour24:min[:sec][ offset]]
|
|
|
|
year-monthnum-fullday[ hour24:min[:sec][ offset]]
|
|
|
|
year-'W'isoweek[ hour24:min[:sec][ offset]]
|
|
|
|
year-ordinal[ hour24:min[:sec][ offset]]
|
|
|
|
--monthnum-day[ hour24:min[:sec][ offset]]
|
2016-08-22 18:53:33 +00:00
|
|
|
|
|
|
|
# Dates like "Janaury 1, 1970"
|
2016-10-22 15:11:44 +00:00
|
|
|
monthname day[[','] year][ hour12:min[:sec] meridiem[ offset]][ adbc]
|
|
|
|
monthname day[[','] year][ hour24:min[:sec][ offset]][ adbc]
|
2016-08-22 18:53:33 +00:00
|
|
|
|
|
|
|
# ctime dates
|
2016-10-22 15:11:44 +00:00
|
|
|
weekday monthname day[ hour24:min[:sec]] fullyear
|
2016-08-22 18:53:33 +00:00
|
|
|
|
|
|
|
# Astronomical dates like "1970 January 1"
|
2016-10-22 15:11:44 +00:00
|
|
|
year monthname day[ hour12:min[:sec] meridiem[ offset]][ adbc]
|
|
|
|
year monthname day[ hour24:min[:sec][ offset]][ adbc]
|
2016-08-22 18:53:33 +00:00
|
|
|
|
|
|
|
# Today dates
|
2016-10-22 15:11:44 +00:00
|
|
|
hour12:min[:sec] meridiem[ offset]
|
|
|
|
hour24:min[:sec][ offset]
|