Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions Piece.pm
Original file line number Diff line number Diff line change
Expand Up @@ -1266,6 +1266,9 @@ To get local time objects, you can:
my $local = localtime();
Time::Piece->strptime($string, $format, { defaults => $local })

The islocal and defaults options were added in version 1.37; the instance
method can be used for compatibility with previous versions.

=head3 Locale Considerations

By default, C<strptime> only parses English day and month names, while
Expand Down
Loading