Skip to content
Snippets Groups Projects
Commit 742af365 authored by James Page's avatar James Page
Browse files

Added human-readable date layout that includes time

parent eec1a136
Branches
Tags
1 merge request!28Added human-readable date layout that includes time
......@@ -62,6 +62,11 @@ func DateLayoutHumanReadable() string {
return layout
}
func DateLayoutHumanReadableWithTime() string {
layout := "02 Jan 2006 15:04"
return layout
}
func DateLayoutTrimmed() string {
layout := "20060102150405"
return layout
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment