Skip Menu | will be shut down on March 1st, 2021.

This queue is for tickets about the DateManip CPAN distribution.

Report information
The Basics
Id: 23515
Status: resolved
Priority: 0/
Queue: DateManip

Owner: Nobody in particular
Requestors: rkitover [...]

Bug Information
Severity: Normal
Broken in: 5.44
Fixed in: (no value)

Subject: Date_TimeZone broken on Cygwin
Download (untitled) / with headers
text/plain 660b
Date_TimeZone cannot parse the Cygwin $ENV{TZ} value, which looks like: "PST8PDT7,M4.1.0/2,M10.5.0/2" It does not use the "date" command which is actually available on Cygwin because Cygwin perl has an .exe extension. Patch below: --- 2005-06-02 08:47:42.000000000 -0700 +++ 2006-11-20 16:14:52.708361900 -0800 @@ -3526,7 +3526,7 @@ # `date` program and assume the output is of the format: # Thu Aug 31 14:57:46 EDT 2000 - unless (($^X =~ /perl\.exe$/i) or + unless (($^O ne 'cygwin' && $^X =~ /perl\.exe$/i) or ($OS eq "Windows") or ($OS eq "Netware") or ($OS eq "VMS")) { -- Rafael
The patch has been added.

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to