Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

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

by zakb (Pilgrim)
on Apr 25, 2003 at 11:12 UTC ( #253132=note: print w/replies, xml ) Need Help??


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

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://253132]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (3)
As of 2020-11-30 05:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?