Closed jsannemo closed 3 years ago
The spec states that time zones are
TimeZone = "UTC" | LongTZ | FixedTZ ; LongTZ = ? list available at http://joda-time.sourceforge.net/timezones.html ? ; FixedTZ = ( "+" | "-" ) Digit Digit ":" Digit Digit ; Digit = "0" | "1" | ... | "9" ;
but the conformance tests includes several time zones that don't conform do this, such as
expr: "timestamp('2009-02-13T23:31:30Z').getHours('2:00')"
expr: "timestamp('2009-02-13T23:31:30Z').getFullYear('-9:30')"
expr: "timestamp('2009-02-13T02:00:00Z').getDayOfMonth('-2:30')"
Personally I think the spec does this right, and the conformance tests is too generous. Either way, they should be the same.
The spec states that time zones are
but the conformance tests includes several time zones that don't conform do this, such as
expr: "timestamp('2009-02-13T23:31:30Z').getHours('2:00')"
expr: "timestamp('2009-02-13T23:31:30Z').getFullYear('-9:30')"
expr: "timestamp('2009-02-13T02:00:00Z').getDayOfMonth('-2:30')"
Personally I think the spec does this right, and the conformance tests is too generous. Either way, they should be the same.