diff options
Diffstat (limited to 'local/time.go')
| -rw-r--r-- | local/time.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/local/time.go b/local/time.go index 72ff3c6..27efc88 100644 --- a/local/time.go +++ b/local/time.go @@ -9,6 +9,8 @@ type PageTime struct { time.Time } +// TimeFormat is the format string used when unmarshaling the time +// from the yaml information. var TimeFormat = "01.02.2006 15:04:05 MST" func (pt *PageTime) UnmarshalYAML(n *yaml.Node) error { |
