mirror of
https://github.com/taigrr/wtf
synced 2025-01-18 04:03:14 -08:00
Explain time/tzdata import with comment
This commit is contained in:
parent
98f3e33f8d
commit
65a9894bba
4
main.go
4
main.go
@ -10,6 +10,10 @@ import (
|
||||
"log"
|
||||
"os"
|
||||
|
||||
// Blank import of tzdata embeds the timezone database to allow Windows hosts to find timezone
|
||||
// information even if the timezone database is not available on the local system. See release
|
||||
// notes at https://golang.org/doc/go1.15#time/tzdata for details. This prevents "no timezone
|
||||
// data available" errors in clocks module.
|
||||
_ "time/tzdata"
|
||||
|
||||
"github.com/logrusorgru/aurora"
|
||||
|
Loading…
x
Reference in New Issue
Block a user