Localize all the GroupBy*Date methods

Fixes #9745
This commit is contained in:
Bjørn Erik Pedersen
2022-04-05 09:57:58 +02:00
parent e0a882fd3b
commit 658e11ebaa
13 changed files with 144 additions and 42 deletions

View File

@@ -37,6 +37,7 @@ type Site interface {
ServerPort() int
Title() string
Sites() Sites
Current() Site
Hugo() hugo.Info
BaseURL() template.URL
Taxonomies() any
@@ -82,6 +83,10 @@ func (t testSite) Sites() Sites {
return nil
}
func (t testSite) Current() Site {
return t
}
func (t testSite) IsServer() bool {
return false
}