in reply to Re^2: Time::Piece epoch parsing
in thread Time::Piece epoch parsing

I am not looking for way to parse epoch, I am investigating why strptime with %s works wrong.

Look at the source, IIRC its a call to the underling C Runtimes strptime function, they're not all the same

Replies are listed 'Best First'.
Re^4: Time::Piece epoch parsing
by Anonymous Monk on Aug 10, 2016 at 01:28 UTC

    *it's. Also, sentences end with a dot.

    Time::Piece includes its own version of strptime(); there is no call to libc function. This embedded C function returns a got_GMT value which, however, is simply discarded. A value of 0 is always returned to perl side, corresponding with the islocal flag. One end of the module does not know or care what the other end is doing....

      However we found other strange bug when behaviour of T::P on macosx differ from behaviour on linux, with same TZ database up-to-date.