in reply to Re^3: Getting times (weeks, days, hours, minutes, seconds)
in thread Getting times (weeks, days, hours, minutes, seconds)

Ah, so, Date::Time favours geek correctness over usability.

First, it's DateTime, not Date::Time. The purpose of the module is to manipulate date-times, not time durations. DateTime::Duration is a helper object to help DateTime do date arithmetic. It's not designed to contain a result.

When using the module as intended, it provides both a correct mode and a lax mode (the 'floating' time zone) for usability, so your claim is false.

  • Comment on Re^4: Getting times (weeks, days, hours, minutes, seconds)