Commit graph

72 commits

Author SHA1 Message Date
ad73cdb33b
feat: make library compatible with chrono v0.4.26 2023-08-23 18:31:52 +05:30
Alessandro Pellizzari
ab56ab175c Add formatl to NaiveDateTime and fix doctests 2018-12-14 10:55:47 +00:00
Alessandro Pellizzari
cfcbd8e555 Prepare Cargo.toml for crates.io 2018-12-14 09:20:05 +00:00
Alessandro Pellizzari
5472114b91 Add usage section in the README 2018-12-14 08:35:56 +00:00
Alessandro Pellizzari
b0d0c67dee Improve crate documentation 2018-12-13 10:24:53 +00:00
Alessandro Pellizzari
60aa004abe Do not allow 2-items ampm definitions 2018-12-13 09:16:37 +00:00
Alessandro Pellizzari
2eff6a0e8e Add tests for de, es, fr, js, pt, pt-br and improve other tests 2018-12-09 09:14:47 +00:00
Alessandro Pellizzari
90d0599c3d Fix pt and pt-br locales 2018-12-09 09:14:17 +00:00
Alessandro Pellizzari
699368265f Add pt and pt-br 2018-12-09 08:02:21 +00:00
Alessandro Pellizzari
6b496f847c Normalise locale before using it 2018-12-09 08:02:04 +00:00
Alessandro Pellizzari
7c8289ef82 Search for base locale if extended locale is not found + remove code duplication 2018-12-09 07:53:30 +00:00
Alessandro Pellizzari
85266ad161 Add de, es, fr and ja translations. Fix it translation 2018-12-09 07:26:47 +00:00
Alessandro Pellizzari
ac3a7cc907 Add capitalised am/pm and improve translation search 2018-12-09 07:26:02 +00:00
Alessandro Pellizzari
91d300149c Code reformat and deleted unused file 2018-12-06 09:23:09 +00:00
Alessandro Pellizzari
d4c00f1892 Allow to localise AM and PM and rename en to C 2018-12-06 09:17:18 +00:00
Alessandro Pellizzari
770653e2a1 Add italian translations and moved tests to tests directory 2018-12-05 18:53:22 +00:00
Alessandro Pellizzari
06c7199755 build script to convert json locales at compile time 2018-12-05 18:42:47 +00:00
Alessandro Pellizzari
64ea230a2b Cleanup 2018-12-05 09:12:17 +00:00
Alessandro Pellizzari
c70481d776 Chenge Locales structure and implement dynamic translation 2018-12-03 09:39:38 +00:00
Alessandro Pellizzari
33def591ec Add license and update README 2018-12-03 08:32:59 +00:00
Alessandro Pellizzari
201f9fec06 Localisations in an HashMap 2018-12-02 16:30:21 +00:00
Alessandro Pellizzari
7445bea0f7 First version 2018-12-02 13:38:33 +00:00