Re: Issues w/ POSIX's strftime() ?

"$Bill Luebkert" <[email protected]> Tue, 18 Sep 2012 14:38:24 -0700
Newsgroups gmane.comp.lang.perl.active-perl
Message-ID <[email protected]>
On 9/18/2012 12:28, Philip Prindeville wrote:
>
> Well, I remember that when I was at Microsoft (lowers his head), there was a lot of use of ActiveState perl in the build machinery for the Windows kernel.
>
> I wouldn't be surprised if Microsoft had a couple of full-time ActiveState folks on contract, in fact.
>
> Maybe if one is on the list, they can suggest that strftime() be amended to have '%z' return the timezone offset in hours/minus and sign.

Might be easier to just have AS make the changes by coding
around it (convert the %T to %H:%M:%S and grab the tz offset
from the registry
(HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\TimeZoneInformation\ActiveTimeBias)
and format it to %z format (%+02d%02u, $atb / 60, $atb % 60 or whatever).

Pretty simple change if someone has the time/access.

_______________________________________________
ActivePerl mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs