features/parser/date_times.feature in edtf-2.1.0 vs features/parser/date_times.feature in edtf-2.2.0
- old
+ new
@@ -1,10 +1,10 @@
Feature: EDTF parses date/time strings
As a user of edtf-ruby
I want to parse date/time strings formatted in EDTF
-
+
Scenario Outline: EDTF parses a date/time string
When I parse the string "<string>"
Then the year should be "<year>"
And the month should be "<month>"
And the day should be "<day>"
@@ -31,11 +31,11 @@
Scenarios: date/times with timezone
| string | year | month | day | hours | minutes | seconds |
| 2004-01-01T10:10:10Z | 2004 | 1 | 1 | 10 | 10 | 10 |
| 2004-01-01T10:10:10+05:00 | 2004 | 1 | 1 | 5 | 10 | 10 |
| 2004-01-01T02:10:10+05:00 | 2003 | 12 | 31 | 21 | 10 | 10 |
-
+
# Scenarios: fractions
# | string | year | month | day | hours | minutes | seconds |
# | 2004-01-01T10 | 2004 | 1 | 1 | 10 | 0 | 0 |
# | 2004-01-01T10:10:10+05:00 | 2004 | 1 | 1 | 5 | 10 | 10 |
- # | 2004-01-01T02:10:10+05:00 | 2003 | 12 | 31 | 21 | 10 | 10 |
\ No newline at end of file
+ # | 2004-01-01T02:10:10+05:00 | 2003 | 12 | 31 | 21 | 10 | 10 |