monday
monday copied to clipboard
Monday is a minimalistic l10n, i18n package for translation of month and day of week names in time.Date objects.
This PR adds support for the following languages: - et-EE - hr-HR - lv-LV - sk-SK unicode.org was used as a reference for their implementation: - https://www.unicode.org/cldr/cldr-aux/charts/28/verify/dates/et.html - https://www.unicode.org/cldr/cldr-aux/charts/28/verify/dates/hr.html -...
Hi. Thank you for your amazing work! Unfortunately, your project's license doesn't satisfy the license checks. Because of this, it's impossible to see the project's documentation in proper format at...
Hi, Thank you for this project. I believe some API changes can increase the performance and resource usage. For example, a log file must contain same date layout. Instead of...
The `findInString(where, what string)` function implements a case-insensitive search by converting both strings to lowercase using `strings.ToLower()` and then using the inbuilt `strings.Index()` function. However, the `strings.ToLower()` function is expensive...
```go day := 10 monday.Format( time.Date(2020, time.June, day, 0, 0, 0, 0, time.Local), "_2 January 2006", monday.LocalePtPT) ``` The code above does not translate month on day>=10
https://github.com/goodsign/monday/blob/9bcb46af85466cfa7fdcf7964c57f4dfdefee352/default_formats.go#L152 Im not sure but I think this is a Typo. Mondayen → Monday I wanted to Replace "Monday" with "(Mon)" in goodsign/monday/default_formats.go -> FullFormatsByLocale. But this one seems different...
I am getting a time.ParseError when I run ParseInLocation for dates in Japanese. **Variables:** - layout = 発売予定日は2006年1月2日です。 - s = 発売予定日は2020年3月25日です。 - loc = UTC - l = ja_JP...
This commit introduces a better way to measure performance of `Format` function.