mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-14 20:37:55 -05:00
347 B
347 B
title | description | categories | keywords | action | |||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Abs | Returns the absolute value of the given time.Duration value. |
|
{{ $d = time.ParseDuration "-3h" }}
{{ $d.Abs }} → 3h0m0s