Skip to content

Latest commit

 

History

10 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

farsi

This module will contain utilities to help with anything Farsi.

farsi/calendar

This package provides Persian Calendar Calculations for Go (golang). It separated from Roozh to make it go gettable. Roozh contains implementations for converting between Persian dates and Gregorian dates for JavaScript, Java and C# too.

Basically we just use two functions, PersianToGregorian and GregorianToPersian for conversion between calendars, because Go does not provide a way to describe a calendar other than Gregorian calendar, the default expected/assumed one by package time. It is based on the work of Kazimierz M. Borkowski.

About

Persian Calendar Calculations for Go (golang)

Topics

Resources

Stars

8 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages