Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

go-wareki

usage

loc, _ := time.LoadLocation("Asia/Tokyo")
t := wareki.New(time.Date(2019, 10, 2, 0, 0, 0, 0, loc))
e := t.Era()
if e == wareki.EraNotFound {
	return
}
fmt.Printf("%s%02d年%s", e.KanjiName, t.YearEra(), t.Format("01月02日"))

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages