Skip to content

Releases: rbatis/fastdate

v0.3.34

30 Sep 02:55
Compare
Choose a tag to compare

what changes?

  • edit GLOBAL_OFFSET default value

v0.3.33

29 Aug 05:42
Compare
Choose a tag to compare

what changes?

  • fix Display for set_offset methods

v0.3.32

26 Jul 05:35
Compare
Choose a tag to compare
  • del once_cell

v0.3.30

10 Jul 14:08
Compare
Choose a tag to compare

what changes?

  • from_str support from '2024-07-26 09:03:48+00'

v0.3.28

29 Dec 10:57
Compare
Choose a tag to compare

what changes?

  • remove winapi
  • add windows-sys

v0.3.27

18 Dec 08:49
Compare
Choose a tag to compare

v0.3.27

  • fix DateTime format method supplementing 0
  • DateTime format up performance to 180ns/iter

v0.3.26

18 Dec 08:28
Compare
Choose a tag to compare

v0.3.26

  • fix DateTime format method supplementing 0
  • DateTime format up performance to 180ns/iter

v0.3.25

17 Nov 07:38
Compare
Choose a tag to compare

v0.3.25

  • fix format

v0.3.24

17 Nov 06:36
Compare
Choose a tag to compare

v0.3.24

  • fix last bug, Code testing coverage > 99%

v0.3.23

16 Nov 03:26
Compare
Choose a tag to compare

v0.3.23

  • support parse nano
    parse an string by format.
    format support token = ["YYYY","MM","DD","hh","mm","ss",".000000","+00:00"]
    format str must be example:
    parse nano
 fastdate::DateTime::parse("YYYY-MM-DD hh:mm:ss.000000000Z", "2022-12-13 11:12:14.123456789Z").unwrap();
 fastdate::DateTime::parse("YYYY-MM-DD hh:mm:ss.000000000+00:00", "2022-12-13 11:12:14.123456789+06:00").unwrap();

or time zone(UTC+Hour)

 fastdate::DateTime::parse("YYYY-MM-DD hh:mm:ss.000000+00:00", "2022-12-13 11:12:14.123456+06:00").unwrap();
 fastdate::DateTime::parse("YYYY-MM-DD hh:mm:ss.000000+00:00", "2022-12-13 11:12:14.123456-03:00").unwrap();

or time zone(UTC)

 fastdate::DateTime::parse("YYYY-MM-DD hh:mm:ss.000000Z", "2022-12-13 11:12:14.123456Z").unwrap();

parse local time

 fastdate::DateTime::parse("YYYY-MM-DD hh:mm:ss.000000","2022-12-13 11:12:14.123456").unwrap();

or any position

 fastdate::DateTime::parse("YYYY-MM-DD,hh:mm:ss.000000","2022-12-13,11:12:14.123456").unwrap();

or time zone(UTC)

 fastdate::DateTime::parse("YYYY-MM-DD hh:mm:ss.000000Z", "2022-12-13 11:12:14.123456Z").unwrap();

or time zone(UTC+Hour)

 fastdate::DateTime::parse("YYYY-MM-DD hh:mm:ss.000000+00:00", "2022-12-13 11:12:14.123456+08:00").unwrap();