Closed tethal closed 8 years ago
I fixed the FixedLengthUtil tests but I'd say that the date.qtest problem is a bug. @davidnich What's your opinion?
@omusil24 I'll check it in a little bit- working on another fix now
ex:
david@quasar:~/src/qore/git/qore/examples/test/qore/vars$ TZ=UTC qore -ne 'TimeZone tz("America/Chicago"); printf("%y\n", tz.date("1980-07-01", "YYYY-MM-DD").info());'
{relative: False, year: 1980, month: 7, day: 1, hour: 0, minute: 0, second: 0, microsecond: 0, dow: 2, doy: 183, utc_secs_east: -18000, dst: True, zone_name: "CDT", zone: {<TimeZone object>}}
david@quasar:~/src/qore/git/qore/examples/test/qore/vars$ TZ=UTC qore -ne 'TimeZone tz("America/Chicago"); printf("%y\n", tz.date("1980-07-01").info());'
{relative: False, year: 1980, month: 7, day: 1, hour: 0, minute: 0, second: 0, microsecond: 0, dow: 2, doy: 183, utc_secs_east: 0, dst: False, zone_name: "UTC", zone: {<TimeZone object>}}
My timezone is set to UTC:
For example:
Or: