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.
|