From 170357a5f5d88df2136ce4f3d91f100fb062ed27 Mon Sep 17 00:00:00 2001 From: Troels Lauritz Reese Christensen Date: Mon, 3 Jul 2017 15:09:00 +0200 Subject: [PATCH 1/4] Updated `'lang'` to: `'locale'` --- examples/local-language.htm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/local-language.htm b/examples/local-language.htm index 352ca30b..0de552a9 100644 --- a/examples/local-language.htm +++ b/examples/local-language.htm @@ -22,7 +22,7 @@ avatar: '../misc/avatar-doc.jpg', app: 'back-to-the-future', fullCalendar: { - lang: 'de' + locale: 'de' }, localization: { timeDateFormat: false From adbacf7aaa85cb96baebc381467bd238592e098d Mon Sep 17 00:00:00 2001 From: Troels Lauritz Reese Christensen Date: Mon, 3 Jul 2017 15:19:09 +0200 Subject: [PATCH 2/4] Updated read me --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index ac19e0c6..b5fc6777 100644 --- a/README.md +++ b/README.md @@ -272,7 +272,7 @@ See `/examples/local-language.htm` ```javascript fullCalendar: { - lang: 'de' + locale: 'de' }, localization: { timeDateFormat: false From efb664e555267cc63cb77caa9834d6f571316d08 Mon Sep 17 00:00:00 2001 From: Troels Lauritz Reese Christensen Date: Mon, 3 Jul 2017 15:20:01 +0200 Subject: [PATCH 3/4] Replace another 'lang' with 'locale' --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index b5fc6777..a202b18b 100644 --- a/README.md +++ b/README.md @@ -264,7 +264,7 @@ localization: { }, ``` -For full language support, FullCalendar also takes a ["lang" option](http://fullcalendar.io/docs/text/lang/), accompanied by a language file. Make sure to use defer attribute on a script tag loading the language file if you are deferring booking.js, language file should be loaded after booking.js, but before initialization. +For full language support, FullCalendar also takes a ["locale" option](http://fullcalendar.io/docs/text/lang/), accompanied by a language file. Make sure to use defer attribute on a script tag loading the language file if you are deferring booking.js, language file should be loaded after booking.js, but before initialization. Remember to set `localization.timeDateFormat` to false so it doesn't override the language file's settings. From b662ca1154d894bab6c0539cd14d2dce957f6fb9 Mon Sep 17 00:00:00 2001 From: Troels Lauritz Reese Christensen Date: Tue, 4 Jul 2017 10:05:55 +0200 Subject: [PATCH 4/4] Fix locale --- examples/local-language.htm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/local-language.htm b/examples/local-language.htm index 0de552a9..70fc8c65 100644 --- a/examples/local-language.htm +++ b/examples/local-language.htm @@ -11,7 +11,7 @@ - +