[SCM] WebKit Debian packaging branch, debian/unstable, updated. debian/1.1.15-1-40151-g37bb677
darin
darin at 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Sat Sep 26 07:28:37 UTC 2009
The following commit has been merged in the debian/unstable branch:
commit c39723b4df3768fe2a738baa641427165fc022f0
Author: darin <darin at 268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date: Mon Mar 10 16:32:22 2003 +0000
Reviewed by Ken.
- fixed 3193099 -- date parsing can't handle the time zone format that date formatting produces
* kjs/date_object.cpp: (KJS::KRFCDate_parseDate): Allow a "GMT" prefix before the time zone offset.
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@3789 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/JavaScriptCore/ChangeLog b/JavaScriptCore/ChangeLog
index 2e1515f..88bf10c 100644
--- a/JavaScriptCore/ChangeLog
+++ b/JavaScriptCore/ChangeLog
@@ -1,3 +1,11 @@
+2003-03-10 Darin Adler <darin at apple.com>
+
+ Reviewed by Ken.
+
+ - fixed 3193099 -- date parsing can't handle the time zone format that date formatting produces
+
+ * kjs/date_object.cpp: (KJS::KRFCDate_parseDate): Allow a "GMT" prefix before the time zone offset.
+
=== Safari-65 ===
2003-03-04 Darin Adler <darin at apple.com>
diff --git a/JavaScriptCore/ChangeLog-2003-10-25 b/JavaScriptCore/ChangeLog-2003-10-25
index 2e1515f..88bf10c 100644
--- a/JavaScriptCore/ChangeLog-2003-10-25
+++ b/JavaScriptCore/ChangeLog-2003-10-25
@@ -1,3 +1,11 @@
+2003-03-10 Darin Adler <darin at apple.com>
+
+ Reviewed by Ken.
+
+ - fixed 3193099 -- date parsing can't handle the time zone format that date formatting produces
+
+ * kjs/date_object.cpp: (KJS::KRFCDate_parseDate): Allow a "GMT" prefix before the time zone offset.
+
=== Safari-65 ===
2003-03-04 Darin Adler <darin at apple.com>
diff --git a/JavaScriptCore/kjs/date_object.cpp b/JavaScriptCore/kjs/date_object.cpp
index 1f5cff2..2a11cda 100644
--- a/JavaScriptCore/kjs/date_object.cpp
+++ b/JavaScriptCore/kjs/date_object.cpp
@@ -1021,6 +1021,9 @@ time_t KJS::KRFCDate_parseDate(const UString &_date)
localTime = true;
} else {
localTime = false;
+ if (strncasecmp(dateString, "GMT", 3) == 0) {
+ dateString += 3;
+ }
if ((*dateString == '+') || (*dateString == '-')) {
offset = strtol(dateString, &newPosStr, 10);
--
WebKit Debian packaging
More information about the Pkg-webkit-commits
mailing list