On Tue, 14 Jul 2009, Rick Measham wrote:

Dave Rolsky wrote:
All those methods that convert to strftime patterns are deprecated and will go away in a future release, so even if I fixed this bug, if you're relying on them, your code will break eventually.

Erm .. I'm confused.

DateTime::Locale will no longer provide the strftime patterns for %c, %x and %X? If not, how will those be generated?

Look at DateTime.pm. Internally, those patterns just end up calling ->format_cldr with the appropriate CLDR pattern. DateTime.pm no longer has any need for a CLDR -> strftime translation layer, which is why it's deprecated in Locale (though I didn't actually note this anywhere, I just undocumented the methods, bad me).

If you need that translation for your code, you should implement it in Strptime.


-dave

/*============================================================
http://VegGuide.org               http://blog.urth.org
Your guide to all that's veg      House Absolute(ly Pointless)
============================================================*/

Reply via email to