Your skill will accomplish what the force of many cannot |
|
PerlMonks |
Re^4: Date::Format handling of ISO week number formatby Oberon (Monk) |
on Jan 16, 2008 at 23:48 UTC ( [id://662775]=note: print w/replies, xml ) | Need Help?? |
That's a good idea, grinder. It won't be quite as easy as just writing a routine, since I have to be able to handle any given format coming in, but I think I can hack something together. Just scan the format for either %L or %W and, if I see either one, call Week_of_Year and do the substitution myself. Then I can pass it off to time2str if there are any %'s left.
Not super elegant, perhaps, but definitely workable. Thanx!
In Section
Seekers of Perl Wisdom
|
|