1
0
mirror of https://github.com/gohugoio/hugo.git synced 2024-05-11 05:54:58 +00:00
Bjørn Erik Pedersen f4bf214137 tpl/time: Add time.Duration and time.ParseDuration template funcs
And with time.Duration with the convenient alias `duration`:

```
{{ mul 60 60 | duration "second" }}
```

Fixes #3828
2017-09-09 09:43:00 +02:00
..
2017-08-03 15:57:51 +02:00
2017-08-07 20:19:24 +02:00
2017-08-07 20:19:24 +02:00
2017-08-03 15:57:51 +02:00
2017-08-03 15:57:51 +02:00
2017-08-22 20:26:04 +02:00
2017-08-03 15:57:51 +02:00
2017-08-19 09:57:37 +02:00