Skip to content

jalaali/jalaali-elm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 

Repository files navigation

jalaali-elm

Usage

To convert Gregorian to Jalali:

to_jalali (Date 2017 6 25)

To convert Jalali to Gregorian:

to_gregorian (Date 1395 4 20)

More examples:

import Html exposing (text)

today = Date 2017 6 25
main = 
  [ to_jalali today
  , to_gregorian {year=1396, month=04, day=04}
  ] |> toString
    |> text

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages