Index | index by Group | index by Distribution | index by Vendor | index by creation date | index by Name | Mirrors | Help | Search |
Name: perl-Time-Local | Distribution: openSUSE Tumbleweed |
Version: 1.35 | Vendor: openSUSE |
Release: 1.6 | Build date: Sun Apr 30 05:10:47 2023 |
Group: Unspecified | Build host: reproducible |
Size: 70555 | Source RPM: perl-Time-Local-1.35-1.6.src.rpm |
Packager: https://bugs.opensuse.org | |
Url: https://metacpan.org/release/Time-Local | |
Summary: Efficiently compute time from local and GMT time |
This module provides functions that are the inverse of built-in perl functions 'localtime()' and 'gmtime()'. They accept a date as a six-element array, and return the corresponding 'time(2)' value in seconds since the system epoch (Midnight, January 1, 1970 GMT on Unix, for example). This value can be positive or negative, though POSIX only requires support for positive values, so dates before the system's epoch may not work on all operating systems. It is worth drawing particular attention to the expected ranges for the values provided. The value for the day of the month is the actual day (i.e. 1..31), while the month is the number of months since January (0..11). This is consistent with the values returned from 'localtime()' and 'gmtime()'.
Artistic-1.0 OR GPL-1.0-or-later
* Sun Apr 30 2023 Tina Müller <timueller+perl@suse.de> - updated to 1.35 see /usr/share/doc/packages/perl-Time-Local/Changes 1.35 2023-04-29 - This is the same as 1.34. - The code now explicitly handles non-integer seconds values. This fixes the confusing things that timelocal() does with non-integer seconds but does not turn the seconds value into an integer. Based on a bug report from Dmitriy Shamatrin. GH #18. 1.34 2023-03-25 (TRIAL RELEASE) - Fix for test failures seen on 32-bit systems with older Perl versions. 1.33 2023-02-12 (TRIAL RELEASE) - Fix for breakage on (some?) 32-bit platforms. If an integer calculation done internally overflowed all calls to this module's subs could error with "Day too big - 105412 > -2147483648". This fix reduces the range of acceptable epochs but should make the module usable again on such systems. 1.32 2023-02-12 (TRIAL RELEASE) - This is an alternative to the changes in the 1.31 release. Instead of restoring "use integer", the code now explicitly handles non-integer seconds values. This fixes the confusing things that timelocal() does with non-integer seconds but does not turn the seconds value into an integer. Based on a bug report from Dmitriy Shamatrin. GH #18. 1.31 2021-11-09 (TRIAL RELEASE) - Restored the use of "use integer", which was removed in 2010 as part of the change to support a 64-bit time_t in Perl, regardless of the platform. The timelocal() sub does very confusing things with non-integer seconds because internally it calls the system's localtime() function. And that localtime() function may strip off the non-integer portion of the seconds value. This leads to extremely confusing results because of the math that this module does on the return value of localtime() internally. With "use integer" back in effect the results are much more predictable. Based on a bug report from Dmitriy Shamatrin. GH #18. * Mon Jan 27 2020 <timueller+perl@suse.de> - updated to 1.30 see /usr/share/doc/packages/perl-Time-Local/Changes 1.30 2020-01-26 - Identical to 1.30. 1.29 2020-01-18 (TRIAL RELEASE) - Added timelocal_posix() and timegm_posix() subs. These are _exact_ opposites of Perl's localtime() and gmtime(), meaning that a round trip between the two pairs always produces the same value. * Wed Apr 03 2019 Stephan Kulow <coolo@suse.com> - initial package 1.28 * created by cpanspec 1.78.09
/usr/lib/perl5/vendor_perl/5.40.0/Time /usr/lib/perl5/vendor_perl/5.40.0/Time/Local.pm /usr/share/doc/packages/perl-Time-Local /usr/share/doc/packages/perl-Time-Local/CODE_OF_CONDUCT.md /usr/share/doc/packages/perl-Time-Local/CONTRIBUTING.md /usr/share/doc/packages/perl-Time-Local/Changes /usr/share/doc/packages/perl-Time-Local/README.md /usr/share/licenses/perl-Time-Local /usr/share/licenses/perl-Time-Local/LICENSE /usr/share/man/man3/Time::Local.3pmc.gz
Generated by rpm2html 1.8.1
Fabrice Bellet, Sat Nov 16 00:47:12 2024