-
Notifications
You must be signed in to change notification settings - Fork 584
DST problem on Win32 not fully resolved in perl 5.34 #20061
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Labels
Comments
xenu
added a commit
to xenu/perl5
that referenced
this issue
Aug 7, 2022
Conversion to local time seems unnecessary and it apparently causes issues with DST. Fixes Perl#20018, Perl#20061
This PR should fix it: #20064 |
Excellent, @xenu! That fixed it for me. Applying your fix to blead gave me a clean build in my timezone. For my little test setup I now get this:
|
scottchiefbaker
pushed a commit
to scottchiefbaker/perl5
that referenced
this issue
Nov 3, 2022
Conversion to local time seems unnecessary and it apparently causes issues with DST. Fixes Perl#20018, Perl#20061
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
b277e76 was introduced to fix a long-standing problem with Daylight Savings Time on Win32 (#6080). The fix was successful in some combinations of time and time zone, but introduced problems in others. These symptoms are seen in the time zones shown with perl 5.32.0 and 5.34.0 on Windows 10:
Steps to Reproduce
The following code in three files:
stat_test.pl
stat_test.bat
sub.bat
Observed behavior
When the variable $mtime is changed like this:
the observed output is:
Expected behavior
and
Perl configuration
The text was updated successfully, but these errors were encountered: