mirror of
https://github.com/unidoc/unioffice.git
synced 2025-04-25 13:48:53 +08:00
17 lines
299 B
Go
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"
|
|
}
|