Go-carbon version 1.5.0 was released to fix known bugs and add German translation files

A simple, semantic and developer-friendly golang package for datetime

Carbon has been included by awesome-go, if you think it is helpful, please give me a star

golang-module/carbon

Change log
  • Optimize multilingual support without copying the lang directory to the project directory

  • Remove setdir() method, language directory does not allow customization

  • The lunar. Tostring() method is renamed lunar. Todatestring()

  • Fix the bug of bad output of ToDayDateTimeString()

  • Fix the bug that lunar () outputs errors in other time zones

  • Unit test coverage increased to 99.9%

  • The SetYearNoOverflow() method is added to set the year, the month does not overflow

  • The SetMonthNoOverflow() method is added to set the month, the month does not overflow

  • The German translation file lang/de.json is added, which is translated by benzammour

  • Add Japanese readme.jp.md

1 Like