~didrocks/+junk/face-detection-15.04

« back to all changes in this revision

Viewing changes to facedetection/www/bower_components/prism/tests/languages/yaml/datetime_feature.test

  • Committer: Didier Roche
  • Date: 2016-05-10 23:09:11 UTC
  • Revision ID: didier.roche@canonical.com-20160510230911-c7xr490zrj3yrzxd
New version

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
---
 
2
canonical: 2001-12-15T02:59:43.1Z
 
3
iso8601: 2001-12-14t21:59:43.10-05:00
 
4
spaced: 2001-12-14 21:59:43.10 -5
 
5
date: 2002-12-14
 
6
times:
 
7
        - 10:53
 
8
        - 10:53:20.53
 
9
 
 
10
----------------------------------------------------
 
11
 
 
12
[
 
13
        ["punctuation", "---"],
 
14
        ["key", "canonical"], ["punctuation", ":"],
 
15
        ["datetime", "2001-12-15T02:59:43.1Z"],
 
16
        ["key", "iso8601"], ["punctuation", ":"],
 
17
        ["datetime", "2001-12-14t21:59:43.10-05:00"],
 
18
        ["key", "spaced"], ["punctuation", ":"],
 
19
        ["datetime", "2001-12-14 21:59:43.10 -5"],
 
20
        ["key", "date"], ["punctuation", ":"],
 
21
        ["datetime", "2002-12-14"],
 
22
        ["key", "times"], ["punctuation", ":"],
 
23
        ["punctuation", "-"],
 
24
        ["datetime", "10:53"],
 
25
        ["punctuation", "-"],
 
26
        ["datetime", "10:53:20.53"]
 
27
]
 
28
 
 
29
----------------------------------------------------
 
30
 
 
31
Checks for dates, times and datetimes.
 
 
b'\\ No newline at end of file'