Commit b706cb2d authored by Richard Mansfield's avatar Richard Mansfield
Browse files

Define default first day of week to fix calendar for some languages (bug #663056)


Signed-off-by: default avatarRichard Mansfield <richard.mansfield@catalyst.net.nz>
parent 03203d96
...@@ -15,3 +15,4 @@ Changes: ...@@ -15,3 +15,4 @@ Changes:
* Added Slovenian translation from Gregor (calendar-sl.js) * Added Slovenian translation from Gregor (calendar-sl.js)
* Removed built-in Japanese translation (calendar-jp.js) * Removed built-in Japanese translation (calendar-jp.js)
* Added Japanese translation from Mits (calendar-ja.js) * Added Japanese translation from Mits (calendar-ja.js)
* Added default Calendar._FD (first day of week) to fix display for languages that don't define it (bug #663056)
\ No newline at end of file
...@@ -1569,6 +1569,10 @@ Calendar.prototype._dragStart = function (ev) { ...@@ -1569,6 +1569,10 @@ Calendar.prototype._dragStart = function (ev) {
} }
}; };
// The calendar display is broken unless first day is defined, so
// add a default to be overridden in language files.
Calendar._FD = 1;
// BEGIN: DATE OBJECT PATCHES // BEGIN: DATE OBJECT PATCHES
/** Adds the number of days array to the Date object. */ /** Adds the number of days array to the Date object. */
......
This diff is collapsed.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment