-
-
Notifications
You must be signed in to change notification settings - Fork 949
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(locale): new date dataset for spanish
- Loading branch information
Showing
4 changed files
with
106 additions
and
0 deletions.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
/* | ||
* This file is automatically generated. | ||
* Run 'pnpm run generate:locales' to update. | ||
*/ | ||
import type { DateDefinitions } from '../../..'; | ||
import month from './month'; | ||
import weekday from './weekday'; | ||
|
||
const date: DateDefinitions = { | ||
month, | ||
weekday, | ||
}; | ||
|
||
export default date; |
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 @@ | ||
// Sources: https://www.unicode.org/cldr/cldr-aux/charts/28/summary/es.html and https://www.wikilengua.org/index.php/Abreviaciones_en_fechas | ||
export default { | ||
wide: [ | ||
'enero', | ||
'febrero', | ||
'marzo', | ||
'abril', | ||
'mayo', | ||
'junio', | ||
'julio', | ||
'agosto', | ||
'septiembre', | ||
'octubre', | ||
'noviembre', | ||
'diciembre', | ||
], | ||
// 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: [ | ||
'enero', | ||
'febrero', | ||
'marzo', | ||
'abril', | ||
'mayo', | ||
'junio', | ||
'julio', | ||
'agosto', | ||
'septiembre', | ||
'octubre', | ||
'noviembre', | ||
'diciembre', | ||
], | ||
abbr: [ | ||
'ene', | ||
'feb', | ||
'mar', | ||
'abr', | ||
'may', | ||
'jun', | ||
'jul', | ||
'ago', | ||
'sep', | ||
'oct', | ||
'nov', | ||
'dic', | ||
], | ||
// 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: [ | ||
'en.', | ||
'febr.', | ||
'mzo.', | ||
'abr.', | ||
'my.', | ||
'jun.', | ||
'jul.', | ||
'ag.', | ||
'sept.', | ||
'oct.', | ||
'nov.', | ||
'dic.', | ||
], | ||
}; |
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,27 @@ | ||
// Sources: https://www.unicode.org/cldr/cldr-aux/charts/28/summary/es.html and https://www.wikilengua.org/index.php/Abreviaciones_en_fechas | ||
export default { | ||
wide: [ | ||
'domingo', | ||
'lunes', | ||
'martes', | ||
'miércoles', | ||
'jueves', | ||
'viernes', | ||
'sábado', | ||
], | ||
// 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: [ | ||
'domingo', | ||
'lunes', | ||
'martes', | ||
'miércoles', | ||
'jueves', | ||
'viernes', | ||
'sábado', | ||
], | ||
abbr: ['dom', 'lun', 'mar', 'mié', 'jue', 'vie', 'sáb'], | ||
// 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: ['dom.', 'lun.', 'mart.', 'miérc.', 'juev.', 'vier.', 'sáb.'], | ||
}; |
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