commit: framework/Date Date.php
"Chuck Hagenbuch" <[email protected]>
| Newsgroups | gmane.comp.horde.cvs |
|---|---|
| Message-ID | <[email protected]> |
chuck 2009-05-23 23:51:44 EDT
Modified files:
Date Date.php
Log:
- php 5 style constructor
- split some of the initialization code into seperate methods to reduce the size of the constructor
- allow passing args (year, month, day, hour, min, sec) to constructor instead of having to make an array
- catch exceptions in __toString to avoid fatal errors
Revision Changes Path
1.73 +93 -42 framework/Date/Date.php
Chora Links:
http://cvs.horde.org/diff.php/framework/Date/Date.php?rt=horde&r1=1.72&r2=1.73&ty=u
--
To unsubscribe, mail: [email protected]