Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re^2: Getting numeric month for comparisons

by Lady_Aleena (Curate)
on Mar 06, 2016 at 13:30 UTC ( #1156915=note: print w/replies, xml ) Need Help??


in reply to Re: Getting numeric month for comparisons
in thread Getting numeric month for comparisons

choroba, while substr might appear easier, it is not shorter. Also, I don't use substr enough to remember it is in the toolbox.

As for the Croatian and Czech month name position problem and if I were to have to choose between them, I would choose to add Czech since it has almost twice the amount of speakers then Croatian. I can't think of an easy way to fix the problem. I could add something where the user is given the option to add problematic languages if needed.

get_month_number('listopad', {'Czech or Croatian' => 'Czech'});

Other than that, I'm not sure.

No matter how hysterical I get, my problems are not time sensitive. So, relax, have a cookie, and a very nice day!
Lady Aleena

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (5)
As of 2019-04-25 10:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I am most likely to install a new module from CPAN if:
















    Results (126 votes). Check out past polls.

    Notices?
    • (Sep 10, 2018 at 22:53 UTC) Welcome new users!