From adab65ab49f125b39bf819abe68b0790cbf394df Mon Sep 17 00:00:00 2001 From: wei <> Date: Wed, 30 Aug 2006 08:35:39 +0000 Subject: Added TDateTimeStamp class for supporting time stamps outside 1970-2038 using float --- .gitattributes | 2 + HISTORY | 1 + framework/3rdParty/readme.html | 29 ++-- framework/Util/TSimpleDateFormatter.php | 14 +- framework/Web/UI/WebControls/TDatePicker.php | 8 +- .../tickets/protected/pages/Ticket351.page | 12 ++ tests/unit/Util/DateTimeStampTestCase.php | 162 +++++++++++++++++++++ 7 files changed, 211 insertions(+), 17 deletions(-) create mode 100644 tests/FunctionalTests/tickets/protected/pages/Ticket351.page create mode 100644 tests/unit/Util/DateTimeStampTestCase.php diff --git a/.gitattributes b/.gitattributes index 49096f60..348868b6 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1656,6 +1656,7 @@ tests/FunctionalTests/tickets/protected/pages/Ticket285.page -text tests/FunctionalTests/tickets/protected/pages/Ticket306.page -text tests/FunctionalTests/tickets/protected/pages/Ticket311.page -text tests/FunctionalTests/tickets/protected/pages/Ticket312.page -text +tests/FunctionalTests/tickets/protected/pages/Ticket351.page -text tests/FunctionalTests/tickets/protected/pages/Ticket54.page -text tests/FunctionalTests/tickets/protected/pages/Ticket54Master.php -text tests/FunctionalTests/tickets/protected/pages/Ticket54Master.tpl -text @@ -1743,6 +1744,7 @@ tests/unit/I18N/core/DateTimeFormatInfoTest.php -text tests/unit/I18N/core/NumberFormatInfoTest.php -text tests/unit/I18N/core/NumberFormatTest.php -text tests/unit/TComponentTest.php -text +tests/unit/Util/DateTimeStampTestCase.php -text tests/unit/Web/UI/WebControls/TDropDownListTest.php -text tests/unit/Web/UI/WebControls/TLabelTest.php -text tests/unit/Web/UI/WebControls/TRequiredFieldValidatorTest.php -text diff --git a/HISTORY b/HISTORY index 0b015374..87bfafe6 100644 --- a/HISTORY +++ b/HISTORY @@ -13,6 +13,7 @@ CHG: Unify all client-side javascript event handler syntax. (Wei) CHG: Added more conditions in the requirement checker (Qiang) CHG: TControl::findControlsByType() now only returns objects of the specified type (Qiang) CHG: Moved createdOnTemplate() and addParsedObject() from TControl to TComponent (Qiang) +NEW: TDateTimeStamp class for supporting time stamps outside 1970-2038 using float (Wei) Version 3.0.3 August 6, 2006 ============================ diff --git a/framework/3rdParty/readme.html b/framework/3rdParty/readme.html index efa6d411..86021a2e 100644 --- a/framework/3rdParty/readme.html +++ b/framework/3rdParty/readme.html @@ -61,21 +61,21 @@ projects.