Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

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

by zakb (Pilgrim)
on Apr 25, 2003 at 11:12 UTC ( [id://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)?

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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://253132]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (5)
As of 2024-03-28 20:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found