mirror of
https://github.com/unidoc/unipdf.git
synced 2025-04-30 13:48:51 +08:00
17 lines
300 B
Go
17 lines
300 B
Go
![]() |
/*
|
||
|
* This file is subject to the terms and conditions defined in
|
||
|
* file 'LICENSE.txt', 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"
|
||
|
}
|