Skip Menu |

This queue is for tickets about the WebService-Strike CPAN distribution.

Report information
The Basics
Id: 102782
Status: resolved
Priority: 0/
Queue: WebService-Strike

People
Owner: Nobody in particular
Requestors: SREZIC [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: 0.001002



Subject: Test fails if time zone is not UTC+2
Tests fail if the current timezone is for example Europe/Berlin or UTC. It passes if TZ=Europe/Bucharest is set. This happens with 0.001 and 0.001001. Test log output: # Failed test 'date' # at t/WebService-Strike-Torrent.t line 35. # got: '1420498800' # expected: '1420495200' # Looks like you failed 1 test of 14. t/WebService-Strike-Torrent.t .. Dubious, test returned 1 (wstat 256, 0x100) Failed 1/14 subtests # Failed test 'date' # at t/WebService-Strike.t line 19. # got: '1420498800' # expected: '1420495200' # Looks like you failed 1 test of 6. t/WebService-Strike.t .......... Dubious, test returned 1 (wstat 256, 0x100) Failed 1/6 subtests
Fixed in 0.001002. Didn't know that Date::Parse uses localtime and not gmtime if you don't give it a time zone.