@brightspace-ui/intl
Advanced tools
Comparing version 3.7.0 to 3.8.0
@@ -791,3 +791,3 @@ import { getDocumentLocaleSettings, getLanguage, merge } from './common.js'; | ||
case 'fr': | ||
dateFormats = ['dddd\' le \'d MMMM yyyy', 'd MMM yyyy', 'dd/MM/yyyy', 'MMMM yyyy', 'd MMMM', 'd MMM']; | ||
dateFormats = ['dddd d MMMM yyyy', 'd MMM yyyy', 'dd/MM/yyyy', 'MMMM yyyy', 'd MMMM', 'd MMM']; | ||
months = [ | ||
@@ -881,3 +881,2 @@ ['janvier', 'février', 'mars', 'avril', 'mai', 'juin', 'juillet', 'août', 'septembre', 'octobre', 'novembre', 'décembre'], | ||
case 'fr-ca': | ||
case 'fr-on': | ||
dateFormats[1] = 'MMM d yyyy'; | ||
@@ -889,2 +888,8 @@ dateFormats[2] = 'yyyy-MM-dd'; | ||
break; | ||
case 'fr-on': | ||
dateFormats[0] = 'dddd\' le \'d MMMM yyyy'; | ||
dateFormats[1] = 'MMM d yyyy'; | ||
dateFormats[2] = 'yyyy-MM-dd'; | ||
firstDayOfWeek = 0; | ||
break; | ||
case 'zh-tw': | ||
@@ -891,0 +896,0 @@ days[0] = ['星期日', '星期一', '星期二', '星期三', '星期四', '星期五', '星期六']; |
{ | ||
"name": "@brightspace-ui/intl", | ||
"version": "3.7.0", | ||
"version": "3.8.0", | ||
"description": "Internationalization APIs for number, date, time and file size formatting and parsing in D2L Brightspace.", | ||
@@ -5,0 +5,0 @@ "main": "lib/number.js", |
70243
1561