in reply to Time::Piece and localtime?
Time::Piece has no idea what timezone your parsed times are in. Maybe you can supply a time zone offset using the ->tzoffset method? Or alternatively, add the appropriate timezone to your parsed string and the format?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Time::Piece and localtime?
by slugger415 (Monk) on Sep 16, 2022 at 17:36 UTC |