Skip to content

Releases: yaa110/go-persian-calendar

v1.2.1

17 Aug 13:38
076e874
Compare
Choose a tag to compare
fixes #28 where the New() function for creating the time struct did n…

v1.2.0

29 Mar 13:49
Compare
Choose a tag to compare

Breaking Changes

  • retrun a new instance of Time from In:

use:

pt := ptime.Now().In(ptime.Iran())

instead of:

pt := ptime.Now()
pt.In(ptime.Iran())

v1.1.5

12 Jul 03:29
Compare
Choose a tag to compare
  • fix #26 normalize components to avoid panics
  • limitation: the minimum value of Gregorian year is 1097, otherwise a zero instance of ptime.Time is returned.

v1.1.4

15 May 11:29
383c792
Compare
Choose a tag to compare
  • fix timezone offset show bug

v1.1.3

10 Aug 10:22
Compare
Choose a tag to compare
  • time format: fix index out of range
  • format: fix order of markers

v1.1.0

23 Jul 09:03
Compare
Choose a tag to compare
  • Add DayTime type to get time of the day

v1.0.2

02 Jun 15:58
Compare
Choose a tag to compare
README: place changelog section after getting started