1
0
Fork 0

timezone: make sure the tests pass when the timezone database is not installed on the host

This commit is contained in:
Frédéric Guillot 2024-03-24 12:56:02 -07:00
parent 068790fc19
commit e3b3c40c28

View file

@ -6,6 +6,9 @@ package timezone // import "miniflux.app/v2/internal/timezone"
import ( import (
"testing" "testing"
"time" "time"
// Make sure these tests pass when the timezone database is not installed on the host system.
_ "time/tzdata"
) )
func TestNow(t *testing.T) { func TestNow(t *testing.T) {