forked from zuriby/Faker.js
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added weekdays and months in French.
- Loading branch information
Theo Junge
committed
Jan 28, 2021
1 parent
589266a
commit 06b4185
Showing
5 changed files
with
113 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
var date = {}; | ||
module["exports"] = date; | ||
date.month = require("./month"); | ||
date.weekday = require("./weekday"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
// Source: http://unicode.org/cldr/trac/browser/tags/release-27/common/main/en.xml#L1799 | ||
module['exports'] = { | ||
wide: [ | ||
'janvier', | ||
'février', | ||
'mars', | ||
'avril', | ||
'mai', | ||
'juin', | ||
'juillet', | ||
'août', | ||
'septembre', | ||
'octobre', | ||
'novembre', | ||
'décembre', | ||
], | ||
// Property "wide_context" is optional, if not set then "wide" will be used instead | ||
// It is used to specify a word in context, which may differ from a stand-alone word | ||
wide_context: [ | ||
'janvier', | ||
'février', | ||
'mars', | ||
'avril', | ||
'mai', | ||
'juin', | ||
'juillet', | ||
'août', | ||
'septembre', | ||
'octobre', | ||
'novembre', | ||
'décembre', | ||
], | ||
abbr: [ | ||
'janv.', | ||
'févr.', | ||
'mars', | ||
'avril', | ||
'mai', | ||
'juin', | ||
'juil.', | ||
'août', | ||
'sept.', | ||
'oct.', | ||
'nov.', | ||
'déc.', | ||
], | ||
// Property "abbr_context" is optional, if not set then "abbr" will be used instead | ||
// It is used to specify a word in context, which may differ from a stand-alone word | ||
abbr_context: [ | ||
'janv.', | ||
'févr.', | ||
'mars', | ||
'avril', | ||
'mai', | ||
'juin', | ||
'juil.', | ||
'août', | ||
'sept.', | ||
'oct.', | ||
'nov.', | ||
'déc.', | ||
], | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
// Source: http://unicode.org/cldr/trac/browser/tags/release-27/common/main/en.xml#L1847 | ||
module["exports"] = { | ||
wide: [ | ||
"Dimanche", | ||
"Lundi", | ||
"Mardi", | ||
"Mercredi", | ||
"Jeudi", | ||
"Vendredi", | ||
"Samedi" | ||
], | ||
// Property "wide_context" is optional, if not set then "wide" will be used instead | ||
// It is used to specify a word in context, which may differ from a stand-alone word | ||
wide_context: [ | ||
"Dimanche", | ||
"Lundi", | ||
"Mardi", | ||
"Mercredi", | ||
"Jeudi", | ||
"Vendredi", | ||
"Samedi" | ||
], | ||
abbr: [ | ||
"Dim", | ||
"Lun", | ||
"Mar", | ||
"Mer", | ||
"Jeu", | ||
"Ven", | ||
"Sam" | ||
], | ||
// Property "abbr_context" is optional, if not set then "abbr" will be used instead | ||
// It is used to specify a word in context, which may differ from a stand-alone word | ||
abbr_context: [ | ||
"Dim", | ||
"Lun", | ||
"Mar", | ||
"Mer", | ||
"Jeu", | ||
"Ven", | ||
"Sam" | ||
] | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters