http://qs1969.pair.com?node_id=253132


in reply to Replacing $mon with Jan, Feb, Mar by regex or other means

It may be worth considering that all of the above will be potentially incorrect for anything other than English, with the possible exception of the POSIX solution.

Abigail-II, would the POSIX version use the correct translation for the current locale (e.g. Fev for Fevrier = February in french)?

  • Comment on Re: Replacing $mon with Jan, Feb, Mar by regex or other means

Replies are listed 'Best First'.
Re: Replacing $mon with Jan, Feb, Mar by regex or other means
by Abigail-II (Bishop) on Apr 25, 2003 at 11:24 UTC
    It should, but whether it does might depend on how strftime is implemented on your platform. Perl just calls the system library with the same name to do the work.

    Abigail