Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 0543e4a2d0
Fetching contributors…

Cannot retrieve contributors at this time

476 lines (473 sloc) 20.668 kb
<?xml version="1.0" encoding="UTF-8"?>
<package packagerversion="1.9.4" version="2.0" xmlns="http://pear.php.net/dtd/package-2.0" xmlns:tasks="http://pear.php.net/dtd/tasks-1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://pear.php.net/dtd/tasks-1.0 http://pear.php.net/dtd/tasks-1.0.xsd http://pear.php.net/dtd/package-2.0 http://pear.php.net/dtd/package-2.0.xsd">
<name>Date</name>
<channel>pear.php.net</channel>
<summary>Generic date/time handling class for PEAR</summary>
<description>Generic classes for representation and manipulation of
dates, times and time zones without the need of timestamps,
which is a huge limitation for PHP programs. Includes time zone data,
time zone conversions and many date/time conversions.
It does not rely on 32-bit system date stamps, so
you can display calendars and compare dates that date
pre 1970 and post 2038.</description>
<lead>
<name>Baba Buehler</name>
<user>baba</user>
<email>baba@babaz.com</email>
<active>no</active>
</lead>
<lead>
<name>Pierre-Alain Joye</name>
<user>pajoye</user>
<email>pajoye@php.net</email>
<active>no</active>
</lead>
<lead>
<name>Monte Ohrt</name>
<user>mohrt</user>
<email>mohrt@php.net</email>
<active>no</active>
</lead>
<lead>
<name>Firman Wandayandi</name>
<user>firman</user>
<email>firman@php.net</email>
<active>yes</active>
</lead>
<lead>
<name>C.A. Woodcock</name>
<user>c01234</user>
<email>c01234@netcomuk.co.uk</email>
<active>yes</active>
</lead>
<developer>
<name>Alan Knowles</name>
<user>alan_k</user>
<email>alan@akbkhome.com</email>
<active>yes</active>
</developer>
<helper>
<name>Leonardo Dutra</name>
<user>scar</user>
<email>scar@php.net</email>
<active>yes</active>
</helper>
<date>2012-10-23</date>
<time>11:40:53</time>
<version>
<release>1.5.0a3</release>
<api>1.5.0</api>
</version>
<stability>
<release>alpha</release>
<api>alpha</api>
</stability>
<license uri="http://www.opensource.org/licenses/bsd-license.php">BSD License</license>
<notes>
QA release
Request #17626 Patch to add missing longname and dstlongname info
Bug #19184 use date_default_timezone_get() instead of ini_get(date.timezone)
Bug #19568 setDate() handles ISO week dates incorrectly
</notes>
<contents>
<dir baseinstalldir="/" name="/">
<file baseinstalldir="/" md5sum="16c72a89611c2e6b5e45efa5503b015c" name="Date/Calc.php" role="php">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file baseinstalldir="/" md5sum="9f3b65e24da70f3706d45438e6148fb3" name="Date/Human.php" role="php">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file baseinstalldir="/" md5sum="483831ea37ae708d9a220372e9d5b572" name="Date/Span.php" role="php">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file baseinstalldir="/" md5sum="dc6794ab6bcf28d90b2154ede81ab80d" name="Date/TimeZone.php" role="php">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file baseinstalldir="/" md5sum="792b333b7e7b6a591da410c2f7ca4897" name="docs/LICENSE" role="doc">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file baseinstalldir="/" md5sum="2d70b58b19e2fca19e2f2e9fcd8af3e4" name="docs/TODO" role="doc">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file baseinstalldir="/" md5sum="d8015e45b93064e90f15bdca2731db55" name="docs/examples/example.php" role="doc">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file baseinstalldir="/" md5sum="ae6e6d864b574cebe038d6430ac36c52" name="tests/calc.php" role="test">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file baseinstalldir="/" md5sum="434171b5b0829cb889a9de97ce197a64" name="tests/DateSpanTest.php" role="test" />
<file baseinstalldir="/" md5sum="45443ed0976a576bc7ad422e38025c19" name="tests/DateTest.php" role="test" />
<file baseinstalldir="/" md5sum="c355edaa61d14c4ad831f8894f83219d" name="tests/test_addseconds.php" role="test">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file baseinstalldir="/" md5sum="4bda6b2b1392ca0a8993d2a947e71736" name="tests/test_addseconds_Calcutta.php" role="test">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file baseinstalldir="/" md5sum="3a8a3429f409900e13b8f7f639ac8196" name="tests/test_addseconds_Paris.php" role="test">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file baseinstalldir="/" md5sum="8b7243ba335fc9cf2b35712aa7481716" name="tests/test_calc.php" role="test">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file baseinstalldir="/" md5sum="d2e6e5273f6e6eabecb529acb41e9aed" name="tests/test_date_methods_span.php" role="test">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file baseinstalldir="/" md5sum="359ebed16223da91cc94b3dcf1fffe3a" name="tests/test_format.php" role="test">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file baseinstalldir="/" md5sum="2d7feef39f58ee97ff354ff869b3fc99" name="tests/test_julianday.php" role="test">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file baseinstalldir="/" md5sum="0888b37265f5079e32a4de490ada4eaf" name="tests/test_round_trunc.php" role="test">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file baseinstalldir="/" md5sum="13ffbb67ca3828297cfdc54ee7408dfb" name="tests/test_weeknumbers_0.php" role="test">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file baseinstalldir="/" md5sum="e51f49fc3bce3d94237f89276dee54fb" name="tests/test_weeknumbers_1.php" role="test">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file baseinstalldir="/" md5sum="b2fcdc95b3de2767331b1b248feaa818" name="tests/test_weeknumbers_2.php" role="test">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file baseinstalldir="/" md5sum="8ef8d3110adafab5779c555010bde302" name="tests/test_weeknumbers_3.php" role="test">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file baseinstalldir="/" md5sum="9dacc87289c853cbe07f69e1a55ffd23" name="tests/test_weeknumbers_4.php" role="test">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file baseinstalldir="/" md5sum="7e0c6bbb61b0b7acba409914858c5998" name="tests/test_weeknumbers_5.php" role="test">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file baseinstalldir="/" md5sum="3bf028663c0d44068e405af2a9e9cbab" name="tests/test_weeknumbers_6.php" role="test">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file baseinstalldir="/" md5sum="718791b73052d28a89de911ca460056c" name="tests/test_weeknumbers_ISO.php" role="test">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file baseinstalldir="/" md5sum="ebbadc4b070ec6cbf26aea9f8ebe6eb3" name="tests/bugs/bug-445.phpt" role="test">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file baseinstalldir="/" md5sum="94b6b7b84bda5f8020281dd3f60fae83" name="tests/bugs/bug-674.phpt" role="test">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file baseinstalldir="/" md5sum="9ab0e02d17982db82508d38412470ff0" name="tests/bugs/bug-727-1.phpt" role="test">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file baseinstalldir="/" md5sum="7dba774309148c07d6d720f5de20c765" name="tests/bugs/bug-727-2.phpt" role="test">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file baseinstalldir="/" md5sum="02d3335d31fd4b0d2f40581085843f32" name="tests/bugs/bug-727-3.phpt" role="test">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file baseinstalldir="/" md5sum="a5d7386395ce944b00aa446d7fac8c97" name="tests/bugs/bug-727-4.phpt" role="test">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file baseinstalldir="/" md5sum="72961606c266d201f3052b2f10b3ae0c" name="tests/bugs/bug-967.phpt" role="test">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file baseinstalldir="/" md5sum="3b42cc3008e576aca2660d8d8e7c145d" name="tests/bugs/bug-2378-1.phpt" role="test">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file baseinstalldir="/" md5sum="d3b317576da5c76b9daafc90da730364" name="tests/bugs/bug-2378.phpt" role="test">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file baseinstalldir="/" md5sum="9853b8fdd91863448c23fb11bd462c17" name="tests/bugs/bug-6246.phpt" role="test">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file baseinstalldir="/" md5sum="e67501d25664e18515667ad61750bb68" name="tests/bugs/bug-8518.phpt" role="test">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file baseinstalldir="/" md5sum="f70ba8d75110b1af52c685500f4e704b" name="tests/bugs/bug-8912.phpt" role="test">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file baseinstalldir="/" md5sum="28d08bc629929e0955541968aabb7455" name="tests/bugs/bug-9213.phpt" role="test">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file baseinstalldir="/" md5sum="f94605749fc02880f5787954ffe4a8d1" name="tests/bugs/bug-9414.phpt" role="test">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file baseinstalldir="/" md5sum="39254e372b4785f7c79b584918607fd8" name="tests/bugs/bug-9568.phpt" role="test">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file baseinstalldir="/" md5sum="931d05cef03138351b0d7e079054908e" name="tests/bugs/bug-9801.phpt" role="test">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file baseinstalldir="/" md5sum="abfa20deaa1aeb8cd8ed99c44ba93639" name="tests/bugs/bug-11313.phpt" role="test">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file baseinstalldir="/" md5sum="11949c886f8e48c3fa5ee4adc76b8ca3" name="tests/bugs/bug-13376.phpt" role="test">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file baseinstalldir="/" md5sum="1c42e57e2b748dcef2cbd6cab72551d3" name="tests/bugs/bug-13545.phpt" role="test">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file baseinstalldir="/" md5sum="0e6df25af581dfcd814040ea983e0fb9" name="tests/bugs/bug-19568.phpt" role="test" />
<file baseinstalldir="/" md5sum="59d925897e995c75872dc7b411f0b2d9" name="buildPackageXML.php" role="php" />
<file baseinstalldir="/" md5sum="bbaf37a53bb31267612d2ead9b45fcbe" name="Date.php" role="php">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file baseinstalldir="/" md5sum="49ca131c2ce58f5283006861554ac561" name="README" role="data">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
</dir>
</contents>
<dependencies>
<required>
<php>
<min>4.3</min>
</php>
<pearinstaller>
<min>1.4.0</min>
</pearinstaller>
</required>
</dependencies>
<phprelease />
<changelog>
<release>
<version>
<release>1.4</release>
<api>1.4</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<date>2003-12-21</date>
<license uri="http://www.php.net/license">PHP License</license>
<notes>
- 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() (thx to andreas dot kossmeier at bergfex dot at)
- 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()
</notes>
</release>
<release>
<version>
<release>1.4.1</release>
<api>1.4.1</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<date>2004-02-24</date>
<license uri="http://www.php.net/license">PHP License</license>
<notes>
- Fix #674 endOfWeek() beginOfWeek()
- Fix #727, weeksInMonth (wrong result with some dates)
- Fix #674 (and old system #22549), check arguments in Date_Span
</notes>
</release>
<release>
<version>
<release>1.4.2</release>
<api>1.4.2</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<date>2004-03-14</date>
<license uri="http://www.php.net/license">PHP License</license>
<notes>
- Fix #976 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
</notes>
</release>
<release>
<version>
<release>1.4.3</release>
<api>1.4.3</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<date>2004-05-16</date>
<license uri="http://www.php.net/license">PHP License</license>
<notes>
- Fix #1250, wrong name for Bangladesh TZ
- Fix #1390, add XML Schema datetime support
(aashley at optimiser dot com)
See http://www.w3.org/TR/2004/PER-xmlschema-2-20040318/#dateTime
</notes>
</release>
<release>
<version>
<release>1.4.4</release>
<api>1.4.4</api>
</version>
<stability>
<release>beta</release>
<api>stable</api>
</stability>
<date>2004-05-16</date>
<license uri="http://www.php.net/license">PHP License</license>
<notes>
- Establish the DATE_CALC_FORMAT constant
and use it as the default value for each
of the Date_Calc class&apos; method&apos;s $format
parameter.
- Add beginOfMonthBySpan() and
endOfMonthBySpan() methods to Date_Calc.
- Use integers for the parameters in
Date_Calc instead of strings.
- Tweak Date_Calc::NWeekdayOfMonth() so it
can calculate the &apos;last&apos; given weekday of
a month.
- Fix Bug 1640. Make sure all longname&apos;s are also
keys in $GLOBALS[&apos;_DATE_TIMEZONE_DATA&apos;]. Makes
Date_TimeZone work under more operating systems.
- #5420, missing CEST
- #3846, getYear, getMonth returns integer
- #2652, add %h and %i support (rob at wildlime dot com
- #5494, force dot as decimal separator
- #3022, allow to specify the weekday abbrevation length used in ::format()
- #4878, %s padding fix when &lt; 10 ( aashley at optimiser dot com)
- #3059, use GLOBALS in date_span
</notes>
</release>
<release>
<version>
<release>1.4.5</release>
<api>1.4.5</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<date>2005-10-12</date>
<license uri="http://www.php.net/license">PHP License</license>
<notes>
Same code base as 1.4.4-beta
See 1.4.4 changelog for details
</notes>
</release>
<release>
<date>2005-11-15</date>
<version>
<release>1.4.6</release>
<api>1.4.6</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<notes>
- Change license from PHP License to new BSD License
- Bug #5715 fypo, missing s in $GLOBALS
</notes>
</release>
<release>
<version>
<release>1.4.7</release>
<api>1.4</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<date>2006-11-22</date>
<license uri="http://www.opensource.org/licenses/bsd-license.php">BSD License</license>
<notes>
* Fix bug #8912: putenv() causes crashes in DateTimeZone::inDaylightTime() under windows
* Fix bug #9409: Date_Calc, fatal error using a non-array variable as an array
* Fix bug #9414: Date::addSeconds() fails to work properly with negative numbers
* Many cosmetics update
* Moved bug test files to tests/bugs/
* Removed unused files
</notes>
</release>
<release>
<version>
<release>1.5.0a1</release>
<api>1.5.0</api>
</version>
<stability>
<release>alpha</release>
<api>alpha</api>
</stability>
<date>2008-03-23</date>
<license uri="http://www.opensource.org/licenses/bsd-license.php">BSD License</license>
<notes>
* Fixed bug #2378: getDate(DATE_FORMAT_UNIXTIME) doesn&apos;t convert to GMT
* Fixed bug #7439: US/Indiana Daylight Savings Change
* Implemented request #9700: Incorrect timestamps allowd
* Fixed bug #10349: Wrong offset in timezones
* Fixed bug #10591: inDaylightTime fails
* Implemented request #11090: microtime is not set by default constructor
* Fixed bug #11313: DST time change not handled correctly
* Fixed bug #11475: Date::copy don&apos;t copy milisecond part
* Fixed bug #11682: Australia/Perth has DST
* Fixed bug #11708: getWeekdayAbbrname returns wrong lenght if string is unicode
* Fixed bug #12019: Date-&gt;after(...) changes the date
* Fixed bug #12420: Date constructor handles iso 8601 timezone offests of zero incorrectly
* Fixed bug #12529: setTZ globally sets your TZ instead of only within date object
* Fixed bug #13376: setFromDateDiff change source dates
* Improved time-zone functionality so that it is entirely handled by the class and not reliant on native functions
* Added leap-second functionality
* Added functions &apos;Date::round()&apos; and &apos;Date::trunc()&apos;
* Added formatting function &apos;Date::format2()&apos; that uses a &apos;YYYY-MM-DD&apos;-style formatting code
* Added formatting function &apos;Date::format3()&apos; to allow date-formatting using the formatting code of &apos;date()&apos;
</notes>
</release>
<release>
<version>
<release>1.5.0a2</release>
<api>1.5.0</api>
</version>
<stability>
<release>alpha</release>
<api>alpha</api>
</stability>
<date>2011-12-13</date>
<license uri="http://www.opensource.org/licenses/bsd-license.php">BSD License</license>
<notes>
QA release.
Users are strongly encouraged to adopt to inbuilt DateTime functionality.
Bug #17730 Patch: Avoid ereg, using preg_match
Doc Bug #15029 large Date_Span&apos;s cannot be created
Bug #14929 Timezone summertime
Bug #14856 America/Moncton longname and dstlongname missing
Bug #14084 TZ variable being set wrecks global config
Bug #13615 America/Toronto time-zone is missing longname and dstlongname
Bug #13545 Date_Span::set() doesn&apos;t work when passed an int and format
Req #13488 Please rename Methods format2 and format3
</notes>
</release>
<release>
<version>
<release>1.5.0a3</release>
<api>1.5.0</api>
</version>
<stability>
<release>alpha</release>
<api>alpha</api>
</stability>
<date>2012-10-23</date>
<license uri="http://www.opensource.org/licenses/bsd-license.php">BSD License</license>
<notes>
QA release
Request #17626 Patch to add missing longname and dstlongname info
Bug #19184 use date_default_timezone_get() instead of ini_get(date.timezone)
Bug #19568 setDate() handles ISO week dates incorrectly
</notes>
</release>
</changelog>
</package>
Jump to Line
Something went wrong with that request. Please try again.