From: Michael Prager Date: Sat, 12 Nov 2011 15:31:51 +0000 (+0100) Subject: fixed weekday display (for real this time) on Symbian Anna and Belle devices X-Git-Url: https://code.delx.au/comingnext/commitdiff_plain/47042684b33ea4f3fbee53bea574e3ca3ff3a33e fixed weekday display (for real this time) on Symbian Anna and Belle devices --- diff --git a/Readme.txt b/Readme.txt index 991a201..ec7b4a0 100644 --- a/Readme.txt +++ b/Readme.txt @@ -285,3 +285,4 @@ Changelog: supports N8-00, E7-00, C6-00, C6-01, C7-00, C7 Astound, X7-00, T7-00 and 500) 1.34 () by Michael Prager - fixed 12h time format not being used anymore on Anna devices + - fixed weekday display (for real this time) on Symbian Anna and Belle devices diff --git a/comingNext/index.html b/comingNext/index.html index 992da23..17ee333 100644 --- a/comingNext/index.html +++ b/comingNext/index.html @@ -521,7 +521,7 @@ function parseDate(dateString) function getWeekdayLocalized(date) { var localizedString = date.toLocaleDateString(); - if (localizedString.match(/\d\d\/\d\d\/\d\d/)) { + if (localizedString.match(/\d\d.\d\d.\d\d/)) { return weekdays_translated[date.getDay()]; } else return localizedString.split(',')[0];