mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-15 11:11:49 +01:00
Avoid JS error by making sure we have a date format
This commit is contained in:
parent
4ba7bac850
commit
4cf185ce7e
@ -37,7 +37,7 @@ egw.extend('calendar', egw.MODULE_WND_LOCAL, function(_app, _wnd)
|
||||
function calendarPreferences(_egw)
|
||||
{
|
||||
// Date format in jQuery UI date format
|
||||
var dateformat = dateTimeFormat(_egw.preference("dateformat"));
|
||||
var dateformat = dateTimeFormat(_egw.preference("dateformat") || "Y-m-d");
|
||||
|
||||
// First day of the week
|
||||
var first_day = {"Monday": 1, "Sunday": 0, "Saturday": 6};
|
||||
|
Loading…
Reference in New Issue
Block a user