[SCM] WebKit Debian packaging branch, debian/unstable, updated. debian/1.1.15-1-40151-g37bb677

mjs mjs at 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Sat Sep 26 07:30:14 UTC 2009


The following commit has been merged in the debian/unstable branch:
commit 355e00804280fb732f802197a5c42a941d3d2177
Author: mjs <mjs at 268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Wed Mar 19 01:29:34 2003 +0000

            Reviewed by John.
    
    	- fixed 3119663 - document.lastModified returns the wrong date format
    
            * kwq/WebCoreBridge.mm:
            (-[WebCoreBridge openURL:reload:contentType:refresh:lastModified:pageCache:]):
    	Instead of using NSDate's default date format, use the format that
    	IE and Gecko use.
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@3858 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/WebCore/ChangeLog-2003-10-25 b/WebCore/ChangeLog-2003-10-25
index f3c350f..ca9d8ca 100644
--- a/WebCore/ChangeLog-2003-10-25
+++ b/WebCore/ChangeLog-2003-10-25
@@ -1,5 +1,16 @@
 2003-03-18  Maciej Stachowiak  <mjs at apple.com>
 
+        Reviewed by John.
+
+	- fixed 3119663 - document.lastModified returns the wrong date format
+
+        * kwq/WebCoreBridge.mm:
+        (-[WebCoreBridge openURL:reload:contentType:refresh:lastModified:pageCache:]):
+	Instead of using NSDate's default date format, use the format that
+	IE and Gecko use.
+
+2003-03-18  Maciej Stachowiak  <mjs at apple.com>
+
         Reviewed by Darin.
 
         * khtml/ecma/kjs_window.cpp:
diff --git a/WebCore/ChangeLog-2005-08-23 b/WebCore/ChangeLog-2005-08-23
index f3c350f..ca9d8ca 100644
--- a/WebCore/ChangeLog-2005-08-23
+++ b/WebCore/ChangeLog-2005-08-23
@@ -1,5 +1,16 @@
 2003-03-18  Maciej Stachowiak  <mjs at apple.com>
 
+        Reviewed by John.
+
+	- fixed 3119663 - document.lastModified returns the wrong date format
+
+        * kwq/WebCoreBridge.mm:
+        (-[WebCoreBridge openURL:reload:contentType:refresh:lastModified:pageCache:]):
+	Instead of using NSDate's default date format, use the format that
+	IE and Gecko use.
+
+2003-03-18  Maciej Stachowiak  <mjs at apple.com>
+
         Reviewed by Darin.
 
         * khtml/ecma/kjs_window.cpp:
diff --git a/WebCore/kwq/WebCoreBridge.mm b/WebCore/kwq/WebCoreBridge.mm
index 688a279..5236f36 100644
--- a/WebCore/kwq/WebCoreBridge.mm
+++ b/WebCore/kwq/WebCoreBridge.mm
@@ -175,7 +175,8 @@ static bool initializedObjectCacheSize = FALSE;
         _part->addMetaData("http-refresh", QString::fromNSString(refresh));
     }
     if (lastModified) {
-	_part->addMetaData("modified", QString::fromNSString([lastModified description]));
+	NSString *modifiedString = [lastModified descriptionWithCalendarFormat:@"%a %b %d %Y %H:%M:%S" timeZone:nil locale:nil];
+	_part->addMetaData("modified", QString::fromNSString(modifiedString));
     }
 }
 

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list