Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added missed maps values for Poland and some others #69

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions default_formats.go
Original file line number Diff line number Diff line change
Expand Up @@ -360,6 +360,7 @@ var FullFormatsByLocale = map[Locale]string{
LocaleThTH: DefaultFormatThTHFull,
LocaleUzUZ: DefaultFormatUzUZFull,
LocaleKkKZ: DefaultFormatKkKZFull,
LocalePlPL: DefaultFormatPlPLFull,
}

// LongFormatsByLocale maps locales to the 'long' date formats for all
Expand Down Expand Up @@ -408,6 +409,7 @@ var LongFormatsByLocale = map[Locale]string{
LocaleThTH: DefaultFormatThTHLong,
LocaleUzUZ: DefaultFormatUzUZLong,
LocaleKkKZ: DefaultFormatKkKZLong,
LocalePlPL: DefaultFormatPlPLLong,
}

// MediumFormatsByLocale maps locales to the 'medium' date formats for all
Expand Down Expand Up @@ -456,6 +458,7 @@ var MediumFormatsByLocale = map[Locale]string{
LocaleThTH: DefaultFormatThTHMedium,
LocaleUzUZ: DefaultFormatUzUZMedium,
LocaleKkKZ: DefaultFormatKkKZMedium,
LocalePlPL: DefaultFormatPlPLMedium,
}

// ShortFormatsByLocale maps locales to the 'short' date formats for all
Expand Down Expand Up @@ -503,6 +506,8 @@ var ShortFormatsByLocale = map[Locale]string{
LocaleSkSK: DefaultFormatSkSKShort,
LocaleUzUZ: DefaultFormatUzUZShort,
LocaleKkKZ: DefaultFormatKkKZShort,
LocalePlPL: DefaultFormatPlPLShort,
LocaleThTH: DefaultFormatThTHShort,
}

// DateTimeFormatsByLocale maps locales to the 'DateTime' date formats for
Expand Down Expand Up @@ -550,6 +555,8 @@ var DateTimeFormatsByLocale = map[Locale]string{
LocaleSkSK: DefaultFormatSkSKDateTime,
LocaleUzUZ: DefaultFormatUzUZDateTime,
LocaleKkKZ: DefaultFormatKkKZDateTime,
LocalePlPL: DefaultFormatPlPLDateTime,
LocaleThTH: DefaultFormatThTHDateTime,
}

// TimeFormatsByLocale maps locales to the 'Time' date formats for
Expand Down Expand Up @@ -593,4 +600,10 @@ var TimeFormatsByLocale = map[Locale]string{
LocaleLtLT: DefaultFormatLtLTTime,
LocaleUzUZ: DefaultFormatUzUZTime,
LocaleKkKZ: DefaultFormatKkKZTime,
LocalePlPL: DefaultFormatPlPLTime,
LocaleEtEE: DefaultFormatEtEETime,
LocaleHrHR: DefaultFormatHrHRTime,
LocaleLvLV: DefaultFormatLvLVTime,
LocaleSkSK: DefaultFormatSkSKTime,
LocaleThTH: DefaultFormatThTHTime,
}