diff options
| author | Matt Mayer <[email protected]> | 2023-03-15 00:47:36 +0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2023-03-14 18:47:36 +0100 |
| commit | c2b21d836d4dab83ce6cbbcdee1b00c683ad3e40 (patch) | |
| tree | 8c2f7419e14be6b83471512d969d20efddc08702 /src/locales/de | |
| parent | a0010900205ed8b1d1ba2adefe222c1cb41c1a70 (diff) | |
| download | faker-c2b21d836d4dab83ce6cbbcdee1b00c683ad3e40.tar.xz faker-c2b21d836d4dab83ce6cbbcdee1b00c683ad3e40.zip | |
refactor(date): remove duplicate context of date definitions (#1915)
Diffstat (limited to 'src/locales/de')
| -rw-r--r-- | src/locales/de/date/month.ts | 33 | ||||
| -rw-r--r-- | src/locales/de/date/weekday.ts | 15 |
2 files changed, 2 insertions, 46 deletions
diff --git a/src/locales/de/date/month.ts b/src/locales/de/date/month.ts index 3d647a36..99c38645 100644 --- a/src/locales/de/date/month.ts +++ b/src/locales/de/date/month.ts @@ -13,22 +13,7 @@ export default { 'November', 'Dezember', ], - // 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: [ - 'Januar', - 'Februar', - 'März', - 'April', - 'Mai', - 'Juni', - 'Juli', - 'August', - 'September', - 'Oktober', - 'November', - 'Dezember', - ], + abbr: [ 'Jan', 'Feb', @@ -43,20 +28,4 @@ export default { 'Nov', 'Dez', ], - // 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: [ - 'Jan', - 'Feb', - 'Mrz', - 'Apr', - 'Mai', - 'Jun', - 'Jul', - 'Aug', - 'Sep', - 'Okt', - 'Nov', - 'Dez', - ], }; diff --git a/src/locales/de/date/weekday.ts b/src/locales/de/date/weekday.ts index 18c92788..614c1093 100644 --- a/src/locales/de/date/weekday.ts +++ b/src/locales/de/date/weekday.ts @@ -8,19 +8,6 @@ export default { 'Freitag', 'Samstag', ], - // 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: [ - 'Sonntag', - 'Montag', - 'Dienstag', - 'Mittwoch', - 'Donnerstag', - 'Freitag', - 'Samstag', - ], + abbr: ['So.', 'Mo.', 'Di.', 'Mi.', 'Do.', 'Fr.', 'Sa.'], - // 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: ['So.', 'Mo.', 'Di.', 'Mi.', 'Do.', 'Fr.', 'Sa.'], }; |
