Path to this page:
Subject: CVS commit: pkgsrc
From: Jaromir Dolecek
Date: 2004-11-27 14:31:10
Message id: 20041127133110.D404E2DA1D@cvs.netbsd.org
Log Message:
Update pear-Date to 1.4.3.
Changes 1.4.1 to 1.4.3:
* Fix #1250 Wrond name for Bangladesh TZ
* Fix #1390, add XML Schema datetime support
* TimeZone default bad global usage only _DATE_TIMEZONE_DEFAULT is used now
* Fix #683, add optional length argumet to getDayName()
* Fix PHP5 problems with get_class functions
* Fix #674 endOfWeek() beginOfWeek()
* Fix #727, weeksInMonth (wrong result with some dates)
* Fix #674 (and old system #22549), check arguments in Date_Span
Changes in 1.4:
- improvements in input date parsing
- add Date methods addSpan() and subtractSpan()
- added two more ISO8601 date/time output formats DATE_FORMAT_ISO_BASIC
and DATE_FORMAT_ISO_EXTENDED
- improve Date_Calc isLeapYear() and daysInMonth() for year 1582
- add gregorianToISO() method to Date_Calc
- add dateSeason() method to Date_Calc
- add Date_Span class
- bugfix in Date_Calc when century ends in 00, only define
DATE_CALC_BEGIN_WEEKDAY if not already defined
- bugfix in beginOfNextWeek(), beginOfPreviousWeek()
- bugfix in nextDayOfWeek and prevDayOfWeek (thx to koan at gmx dot at)
- bugfix for bug 62: getDate(DATE_FORMAT_UNIXTIME) off because of DST
- bugfix for bug 65: format(e) returns zero-padded day
- bugfix for bug 195: Suppress a notice in setDate()
- bugfix for bug 271: Date_Calc weeksInMonth() returns wrong number
- fix abstraction bug, Date constructor accepts now object that extends Date
- add tests to release package
- Fix notices and mins calc in to toUTCbyOffset()
Files: