[limb-svn] r6086 - 3.x/branches/2007.3/limb/datetime
svn at limb-project.com
svn at limb-project.com
Fri Jul 6 16:52:16 MSD 2007
Author: pachanga
Date: 2007-07-06 16:52:16 +0400 (Fri, 06 Jul 2007)
New Revision: 6086
URL: http://fisheye.limb-project.com/changelog/limb/?cs=6086
Modified:
3.x/branches/2007.3/limb/datetime/CHANGELOG
3.x/branches/2007.3/limb/datetime/VERSION
Log:
-- preparing to 0.2.0 beta release
Modified: 3.x/branches/2007.3/limb/datetime/CHANGELOG
===================================================================
--- 3.x/branches/2007.3/limb/datetime/CHANGELOG 2007-07-06 12:45:06 UTC (rev 6085)
+++ 3.x/branches/2007.3/limb/datetime/CHANGELOG 2007-07-06 12:52:16 UTC (rev 6086)
@@ -1,12 +1,39 @@
+0.2.0-beta - 6 July 2007 (r6085)
+==================================================
+-- lmbDate general constructor instantiation BC break! Now when lmbDate is instantiated with all arguments constructor the order of arguments should be as follows: new lmbDate($year, $month, $day, $hour, $minute, $second, $tz=''). Hopefully this shouldn't break to much stuff since this form was rarely used, however it's a more logical way of dates instantiations since it follows order of date items in ISO format.
+-- possible BC breakage: lmbDate :: getDayOfWeek() takes into account current value of static $first_day_week variable
+-- lmbDate :: compare($date) throws exception if $date is non lmbDate
+-- adding phpdoc header to modules
+-- convenience lmbDate :: getIsoShortTime() added, it returns iso time without seconds
+-- lmbDate :: set/getFirstDayOfWeek() => set/getWeekStartsAt()
+-- lmbDate :: getPhpDayOfWeek() added, it returns immutable day of week with Sunday at 0 index
+-- lmbDate :: getIntlDayOfWeek() added, it returns immutable day of week with Monday at 0 index
+-- lmbDate :: isValidDateString() was renamed to validate() and now it's a way more general
+-- lmbDate :: createWithoutTime() removed, since with new constructor it's simply not required
+-- lmbDate :: getBeginOfDay(), getEndOfDay(), getBeginOfMonth(), getEndOfMonth(), getBeginOfYear(), getEndOfYear() added
+-- lmbDate :: isEqualDate($date) added, it compares dates ignoring time
+-- lmbDate :: stripDate() added, it returns new date with time only
+-- lmbDate :: stripTime() added, it returns new date without times
+-- experimental lmbMonth added
+-- static lmbDate :: set/getFirstDayOfWeek() added
+-- static lmbDate :: createByDays($days) added
+-- static lmbDate :: createWithoutTime($year, $month, $day, $tz = '') added
+-- lmbDate :: getBeginOfWeek() added
+-- lmbDate :: getEndOfWeek() added
+-- lmbDate :: getWeekOfYear() a bit simplified and fixed for values over 52
+-- lmbDate :: strftime($format) - a wrapper around PHP strftime added
+-- lmbDate :: date($format) - a wrapper around PHP date added
+-- $with_seconds optional argument added into lmbDate :: getIsoDate(), it allows to skip seconds
+-- lmbDate :: getIsoShortDate() added, it returns ISO date without time
+-- lmbDate :: getIsoTime($with_seconds = true) added, it returns ISO time only, $with_seconds allows to skip seconds
+-- convenience static lmbDate :: stampToISO($stamp) added
+
0.1.1-alpha - 16 February 2007 (r5031)
==================================================
-
-- lmbDate :: toTimestamp() internally uses getStamp()
-- lmbDate :: getISODate() added, lmbDate :: toString() uses it internally
-- tests are more isolated
-
0.1.0-alpha - 14 December 2006
==================================================
-
-- Initial release of this package.
\ No newline at end of file
Modified: 3.x/branches/2007.3/limb/datetime/VERSION
===================================================================
--- 3.x/branches/2007.3/limb/datetime/VERSION 2007-07-06 12:45:06 UTC (rev 6085)
+++ 3.x/branches/2007.3/limb/datetime/VERSION 2007-07-06 12:52:16 UTC (rev 6086)
@@ -1 +1 @@
-datetime-0.1.1-alpha
+datetime-0.2.0-beta
More information about the limb-svn
mailing list