I'm attempting to convert some code over from the somewhat bloated Date::Manip to a slimmer combination of Date::Calc, Date::Parse, and Date::Format. (Aside: Yes, I have considered using DateTime. While there are many advantages thereto, the two facts that have stopped me thus far are 1) there is no general parsing mechanism a la Date::Parse, and 2) it would still be roughly 3x the size of D::C + D::P + D::F.)
Where I'm currently stuck is in dealing with the ISO week number format: yyyy-Www(-dow)?. For Date::Manip, the relevant format for UnixDate() is "%L-W%W". However, Date::Format seems to be lacking ... it has the %W, but nothing corresponding to the %L.
Can anyone suggest how I should be handling this? Is there some standard way that Date::Format is used for these types of date formats? Or is there another module that replaces Date::Format (that maintains a similar footprint)? Or ... something else?
I await enlightenment with appropriate humility.
In reply to Date::Format handling of ISO week number format by Oberon
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |