]> code.delx.au - comingnext/commitdiff
fixed weekday display (for real this time) on Symbian Anna and Belle devices
authorMichael Prager <mail@michaelprager.de>
Sat, 12 Nov 2011 15:31:51 +0000 (16:31 +0100)
committerMichael Prager <mail@michaelprager.de>
Sat, 12 Nov 2011 15:31:51 +0000 (16:31 +0100)
Readme.txt
comingNext/index.html

index 991a201b7246a7ae97479da32a920978f38bd2f1..ec7b4a0fdfe247910c396dfc87959638aa560648 100644 (file)
@@ -285,3 +285,4 @@ Changelog:
     supports N8-00, E7-00, C6-00, C6-01, C7-00, C7 Astound, X7-00, T7-00 and 500)\r
 1.34 () by Michael Prager\r
   - fixed 12h time format not being used anymore on Anna devices\r
+  - fixed weekday display (for real this time) on Symbian Anna and Belle devices\r
index 992da2376cbf14ebb9eb6af2fe29ed771301863c..17ee3332c331968368f8d0eb0d9daa6e5e780b54 100644 (file)
@@ -521,7 +521,7 @@ function parseDate(dateString)
 \r
 function getWeekdayLocalized(date) {\r
        var localizedString = date.toLocaleDateString();\r
-       if (localizedString.match(/\d\d\/\d\d\/\d\d/)) {\r
+       if (localizedString.match(/\d\d.\d\d.\d\d/)) {\r
                return weekdays_translated[date.getDay()];\r
        } else\r
                return localizedString.split(',')[0];\r