Git Merge Request #10: Update Slovak date handler
This commit is contained in:
parent
de797ec63a
commit
1af22a530c
@ -59,7 +59,7 @@ class DateParserSK(DateParser):
|
||||
calendar_to_int = {
|
||||
'gregoriánsky' : Date.CAL_GREGORIAN,
|
||||
'g' : Date.CAL_GREGORIAN,
|
||||
'juliánský' : Date.CAL_JULIAN,
|
||||
'juliánsky' : Date.CAL_JULIAN,
|
||||
'j' : Date.CAL_JULIAN,
|
||||
'hebrejský' : Date.CAL_HEBREW,
|
||||
'h' : Date.CAL_HEBREW,
|
||||
@ -69,7 +69,7 @@ class DateParserSK(DateParser):
|
||||
'r' : Date.CAL_FRENCH,
|
||||
'perzský' : Date.CAL_PERSIAN,
|
||||
'p' : Date.CAL_PERSIAN,
|
||||
'swedish' : Date.CAL_SWEDISH,
|
||||
'švédsky' : Date.CAL_SWEDISH,
|
||||
's' : Date.CAL_SWEDISH,
|
||||
}
|
||||
|
||||
@ -110,9 +110,9 @@ class DateDisplaySK(DateDisplay):
|
||||
"júl", "aug", "sep", "okt", "nov", "dec" )
|
||||
|
||||
calendar = (
|
||||
"", "juliánský", "hebrejský",
|
||||
"", "juliánsky", "hebrejský",
|
||||
"republikánsky", "perzský", "islamský",
|
||||
"swedish"
|
||||
"švédsky"
|
||||
)
|
||||
|
||||
_mod_str = ("", "pred ", "po ", "okolo ", "", "", "")
|
||||
|
Loading…
Reference in New Issue
Block a user