diff options
author | Christian Pointner <equinox@helsinki.at> | 2016-07-02 10:41:50 (GMT) |
---|---|---|
committer | Christian Pointner <equinox@helsinki.at> | 2016-07-02 10:41:50 (GMT) |
commit | 4198d67490328138e0483b2359f86a9864adfbe9 (patch) | |
tree | 6d421c18a54a1bdb62c3ac175c653aa7cf8ddc74 /rh-bin | |
parent | 00990cfc88abc194d9eb56c3d7fd2c34beceb962 (diff) |
schedule list with UTC dates
Diffstat (limited to 'rh-bin')
-rwxr-xr-x | rh-bin/schedules.json | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/rh-bin/schedules.json b/rh-bin/schedules.json index ca01cfc..df8250b 100755 --- a/rh-bin/schedules.json +++ b/rh-bin/schedules.json @@ -62,8 +62,9 @@ if(!defined $date) { $errorstring = $shows[2]; } else { for my $href (@shows) { + $href->{'START'}->set_time_zone("UTC"); my %show; - $show{'start'} = $href->{'START'}->iso8601(); + $show{'start'} = $href->{'START'}->iso8601() . "Z"; $show{'id'} = int($href->{'ID'}); $show{'title'} = $href->{'TITLE'}; $show{'len'} = int($href->{'LEN'}); |