unioffice/common/time.go
Alfred Hall 2e7943e809 New license based on the unidoc model (#294)
* Style fixes.  Fixes for tests. Should not fail with version updates in the future.
2019-06-09 11:56:06 +00:00

17 lines
299 B
Go

/*
* This file is subject to the terms and conditions defined in
* file 'LICENSE.md', which is part of this source code package.
*/
package common
import (
"time"
)
const timeFormat = "2 January 2006 at 15:04"
func UtcTimeFormat(t time.Time) string {
return t.Format(timeFormat) + " UTC"
}