From 03850ee600b1d8dc3e1d56c271c346a73ba5206f Mon Sep 17 00:00:00 2001 From: rolux Date: Sat, 25 May 2013 14:23:12 +0200 Subject: [PATCH] fix syntax error and add missing space in test results (formatDate, localized dates) --- source/Ox/js/Format.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/source/Ox/js/Format.js b/source/Ox/js/Format.js index 5a42915d..31646ed2 100644 --- a/source/Ox/js/Format.js +++ b/source/Ox/js/Format.js @@ -76,15 +76,15 @@ Ox.formatDate Formats a date according to a format string > Ox.formatDate(Ox.test.date, '%ED') // Localized date and time with seconds '01/02/2005 00:03:04' > Ox.formatDate(Ox.test.date, '%Ed') // Localized date and time without seconds - '01/02/2005 00:03 + '01/02/2005 00:03' > Ox.formatDate(Ox.test.date, '%EL') // Long localized date with weekday - 'Sunday, January 2, 2005' + 'Sunday, January 2, 2005' > Ox.formatDate(Ox.test.date, '%El') // Long localized date without weekday - 'January 2, 2005' + 'January 2, 2005' > Ox.formatDate(Ox.test.date, '%EM') // Medium localized date with weekday - 'Sun, Jan 2, 2005' + 'Sun, Jan 2, 2005' > Ox.formatDate(Ox.test.date, '%Em') // Medium localized date without weekday - 'Jan 2, 2005' + 'Jan 2, 2005' > Ox.formatDate(Ox.test.date, '%ES') // Short localized date with century '01/02/2005' > Ox.formatDate(Ox.test.date, '%Es') // Short localized date without century