Skip to content

Releases: giancosta86/chinese-format

chinese-format 0.8.1

03 Jun 09:17
Compare
Choose a tag to compare
  • New ChineseFormat struct: LeftPadder.
  • LinearTime now pads both its minute and second with .

chinese-format 0.8.0

21 May 09:27
Compare
Choose a tag to compare
  • Split CrateResult into multiple errors.
  • Remove CrateResult.

chinese-format 0.7.0

18 May 14:51
Compare
Choose a tag to compare

Minimalist dependency list - the project no more depends on dyn-error.

chinese-format 0.6.2

18 May 14:24
Compare
Choose a tag to compare

Common derivable traits now available for:

  • Decimal
  • Sign
  • ChineseVec
  • DatePattern
  • DatePatternFlags

chinese-format 0.6.1

17 May 13:21
Compare
Choose a tag to compare
  • Improved documentation
  • Updated dependencies

chinese-format 0.6.0

15 May 16:11
Compare
Choose a tag to compare
  • All the crate features are disabled by default: they must be enabled on demand.
  • The rustdoc documentation:
    • always includes all the features.
    • describes the features - and when they are required - much more in detail.

chinese-format 0.5.0

13 May 03:44
Compare
Choose a tag to compare
  • ToChinese trait renamed to the more expressive ChineseFormat

  • all features enabled by default

  • fallible conversion from u8 for WeekDay

  • CrateError enum extended

chinese format 0.4.1

12 May 03:57
Compare
Choose a tag to compare
  • DatePattern and DatePatternFlags are now available in the gregorian module.

chinese format 0.4.0

11 May 17:09
Compare
Choose a tag to compare

What's new

  • Time conversions to Chinese - in different formats!

  • gregorian module - with the related feature - for date/time conversions.

  • Decimal type, supporting arbitrary fractional precision.

Breaking changes

  • date module no more exists - as well the related date feature: its code is now part of the gregorian module.

chinese format 0.3.0

10 May 01:39
Compare
Choose a tag to compare
  • date module - translating the Gregorian calendar to Chinese.

  • chinese_vec! macro, easier to use than ChineseVec::from().

  • Vastly improved model - based more on references than on boxes.