jellyfin-web/dashboard-ui/bower_components/prism/tests/languages/yaml/datetime_feature.test

31 lines
806 B
Plaintext
Raw Normal View History

2016-02-03 16:00:01 -07:00
---
canonical: 2001-12-15T02:59:43.1Z
iso8601: 2001-12-14t21:59:43.10-05:00
spaced: 2001-12-14 21:59:43.10 -5
date: 2002-12-14
times:
- 10:53
- 10:53:20.53
----------------------------------------------------
[
["punctuation", "---"],
["key", "canonical"], ["punctuation", ":"],
["datetime", "2001-12-15T02:59:43.1Z"],
["key", "iso8601"], ["punctuation", ":"],
["datetime", "2001-12-14t21:59:43.10-05:00"],
["key", "spaced"], ["punctuation", ":"],
["datetime", "2001-12-14 21:59:43.10 -5"],
["key", "date"], ["punctuation", ":"],
["datetime", "2002-12-14"],
["key", "times"], ["punctuation", ":"],
["punctuation", "-"],
["datetime", "10:53"],
["punctuation", "-"],
["datetime", "10:53:20.53"]
]
----------------------------------------------------
Checks for dates, times and datetimes.