mirror of
https://github.com/gohugoio/hugo.git
synced 2025-05-02 08:30:07 +03:00
Use configured timeZone for the clock
And some other related adjustments. Updates #8787
This commit is contained in:
parent
e77ca3c105
commit
35c88a7f90
9 changed files with 54 additions and 34 deletions
|
@ -166,11 +166,6 @@ func (sc *serverCmd) server(cmd *cobra.Command, args []string) error {
|
|||
c.Set("watch", true)
|
||||
}
|
||||
|
||||
// TODO(bep) yes, we should fix.
|
||||
if !c.languagesConfigured {
|
||||
return nil
|
||||
}
|
||||
|
||||
// We can only do this once.
|
||||
serverCfgInit.Do(func() {
|
||||
c.serverPorts = make([]serverPortListener, 1)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue