More unit tests (#34)
This commit is contained in:
parent
424dfe19af
commit
777d63dff1
30 changed files with 2019 additions and 10 deletions
|
|
@ -93,7 +93,8 @@ END:VCALENDAR` // Need a line break
|
|||
}
|
||||
|
||||
func makeCalDavTimeFromUnixTime(unixtime int64) (caldavtime string) {
|
||||
tm := time.Unix(unixtime, 0)
|
||||
tz, _ := time.LoadLocation("UTC")
|
||||
tm := time.Unix(unixtime, 0).In(tz)
|
||||
return tm.Format("20060102T150405")
|
||||
}
|
||||
|
||||
|
|
|
|||
Reference in a new issue