My favorites | Sign in
Project Home Issues
New issue   Search
for
  Advanced search   Search tips   Subscriptions
Issue 2244: firstDay option not working anymore
1 person starred this issue and may be notified of changes. Back to list
Status:  Duplicate
Merged:  issue 2221
Owner:  ----
Closed:  Aug 2014


Sign in to add a comment
 
Reported by acandres...@gmail.com, Aug 15, 2014
Hi,

Since Moment.js 2.8.1 lagaData has been deprecated. Current version of FullCalendar seems to break in this piece of code:


>>

	// Language-data Internals
	// -----------------------------------------------------------------------------------
	// Apply overrides to the current language's data

[...]

if (options.firstDay != null) {
		var _week = createObject(langData._week); // _week: { dow: # }
		_week.dow = options.firstDay;
		langData._week = _week;
}

>>

As it has no effect in the way the week order is displayed. firstDay option is completely ignored.


Aug 15, 2014
#1 acandres...@gmail.com
Full Calendar firstDay option does not break is you use moment.js v2.7.0
Aug 15, 2014
Project Member #2 adamrs...@gmail.com
caused by not being compatible with Moment 2.8.1
Status: Duplicate
Mergedinto: 2221
Nov 18, 2014
#3 awerea...@gmail.com
THANK-YOU SO VERY AWESOMELY!! I was starting to get a bit crazy wondering why fullCalendar wouldn't accept firstDay:1 
Sign in to add a comment

Powered by Google Project Hosting