Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re^3: Date::Manip and daylight savings

by sparkyichi (Deacon)
on Nov 07, 2011 at 18:54 UTC ( [id://936557]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Date::Manip and daylight savings
in thread Date::Manip and daylight savings

This node falls below the community's threshold of quality. You may see it by logging in.

Replies are listed 'Best First'.
Re^4: Date::Manip and daylight savings
by SBECK (Chaplain) on Nov 07, 2011 at 19:38 UTC

    If you'll read the full document, you'll see that the excerpt that you quote applies specifically to version 5 of Date::Manip (and it is true... timezone support WAS very limited and broken). The statement does not apply to version 6.

    I'm not sure where you get that I was 'crying about people resorting to writing code'. My response to your comment was not meant to be complaining or derogatory. I was simply saying that I don't believe that people should tackle the problem of daylight saving time as part of their coding project. It's so complicated (made especially so due to the fact that there are no rigid rules for saving time... they are assigned by arbitrary shifts in the views of people) that it's almost impossible to do quickly AND right. If you need daylight saving time support in your code, and you're not intensely interested in that particular problem... don't bother writing your own. Use one of the existing modules.

    A more complete reading of the Date::Manip documentation, or of the DateTime::Timezone module should reveal that both are equipped to deal with the problem.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (6)
As of 2024-03-29 01:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found