diff --git a/Piece.pm b/Piece.pm index 9c6839c..2896672 100644 --- a/Piece.pm +++ b/Piece.pm @@ -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 only parses English day and month names, while