Bjørn Erik Pedersen
|
ce524d0b5e
|
Add a page template func
Fixes #9339
|
2023-02-25 19:53:18 +01:00 |
|
Bjørn Erik Pedersen
|
35c88a7f90
|
Use configured timeZone for the clock
And some other related adjustments.
Updates #8787
|
2022-05-08 16:56:26 +02:00 |
|
satotake
|
e77ca3c105
|
Add clock cli flag
Close #8787
|
2022-05-08 16:56:26 +02:00 |
|
Bjørn Erik Pedersen
|
658e11ebaa
|
Localize all the GroupBy*Date methods
Fixes #9745
|
2022-04-05 16:11:11 +02:00 |
|
Bjørn Erik Pedersen
|
b80853de90
|
all: gofmt -w -r 'interface{} -> any' .
Updates #9687
|
2022-03-17 22:03:27 +01:00 |
|
Bjørn Erik Pedersen
|
6c70e1f22f
|
Fix error handling for the time func alias
Fixes #8835
|
2021-08-01 13:39:30 +02:00 |
|
Bjørn Erik Pedersen
|
efa5760db5
|
Add timezone support for front matter dates without one
Fixes #8810
|
2021-07-27 19:02:48 +02:00 |
|
Bjørn Erik Pedersen
|
a57dda854b
|
Localize time.Format
Fixes #8797
|
2021-07-27 19:02:48 +02:00 |
|
Bjørn Erik Pedersen
|
d90e37e0c6
|
all: Format code with gofumpt
See https://github.com/mvdan/gofumpt
|
2020-12-03 13:12:58 +01:00 |
|
Mark Johnson
|
26eeb29147
|
tpl: Update Hugo time to support optional [LOCATION] parameter
|
2020-10-21 09:49:25 +02: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 |
|
Bjørn Erik Pedersen
|
d8717cd4c7
|
all: Update import paths to gohugoio/hugo
|
2017-06-13 18:42:45 +02:00 |
|
Bjørn Erik Pedersen
|
a119ef693f
|
tpl/time: Re-add the time example
|
2017-05-20 11:41:43 +03:00 |
|
Bjørn Erik Pedersen
|
1f9e8dcc60
|
tpl: Make the Namespace func signature explicit
This makes it cleaner and avoids breaking client code, such as the docs helper JSON generator.
|
2017-05-20 11:34:38 +03:00 |
|
Cameron Moore
|
a59525b05b
|
tpl/time: Remove asTime template func mapping
|
2017-05-20 00:00:20 +03:00 |
|
Cameron Moore
|
3954160a21
|
tpl/time: Support overlapping namespace and template func
Fixes #3421
|
2017-05-20 00:00:20 +03:00 |
|
Bjørn Erik Pedersen
|
690b0f8ff5
|
tpl: Add docshelper for template funcs
And fix some other minor related issues.
Updates #3418
|
2017-05-01 21:44:15 +02:00 |
|
Bjørn Erik Pedersen
|
0e2260421e
|
tpl: Fix the remaining template funcs namespace issues
See #3042
|
2017-05-01 15:13:41 +02:00 |
|
Bjørn Erik Pedersen
|
ee5aa84f2a
|
tpl/time: Make it a package that stands on its own
See #3042
|
2017-05-01 15:13:41 +02:00 |
|