Re: ANNOUNCE: DateTime::Locale 0.20

2005-02-28 Thread fglock
On Sat, 26 Feb 2005, Dave Rolsky wrote:
 - Uses much newer (August, 2004) data from ICU.  

 I just noticed that this causes a DT::Set test to 
 fail, because the pt_BR locale data changed.

 Flavio, I checked in a fix for this (to use en_US, 
 which hasn't ever changed). 

I sent DateTime::Set 0.20 to CPAN:

0.20   2005-02-28
- changed tests to use en_US instead of pt_BR (which
  changes every year) - by Dave Rolsky.
- optimized SpanSet methods for special cases:
  start_set()
  end_set()
  contains( $dt )
  intersects( $dt )
- added an example to count(), by David Nicol.
- added a note about how the result of min()/max() 
  is just a copy of the actual set boundary.  
  Reported by Ron Hill.


- Flavio S. Glock




ANNOUNCE: DateTime::Locale 0.20

2005-02-26 Thread Dave Rolsky
0.20   2005-02-26
* BACKWARDS INCOMPATIBILITY - The way DateTime::Locale::Base
subclasses work has changed.  Subclasses should no longer implement
the date_formats() or time_formats() methods.  Instead, they need to
provide one method per format length (full_date_format(),
long_date_format(), etc).
- Uses much newer (August, 2004) data from ICU.  This includes a
number of new locales.  See DateTime::LocaleCatalog for a list.  This
new data also adds a new type of differentiator for locales, the
script (Latin vs Cyrillic, for example).
- Added new methods to get the narrow forms of a day or month.
- Implemented per-locale eras.
- Fix a number of doc typos and buglets.  Patch by Jean Forget.

/*===
VegGuide.Orgwww.BookIRead.com
Your guide to all that's veg.   My book blog
===*/


Re: ANNOUNCE: DateTime::Locale 0.20

2005-02-26 Thread Dave Rolsky
On Sat, 26 Feb 2005, Dave Rolsky wrote:
- Uses much newer (August, 2004) data from ICU.  This includes a
number of new locales.  See DateTime::LocaleCatalog for a list.  This
new data also adds a new type of differentiator for locales, the
script (Latin vs Cyrillic, for example).
I just noticed that this causes a DT::Set test to fail, because the pt_BR 
locale data changed.

Flavio, I checked in a fix for this (to use en_US, which hasn't ever 
changed).

-dave
/*===
VegGuide.Orgwww.BookIRead.com
Your guide to all that's veg.   My book blog
===*/