-
-
Notifications
You must be signed in to change notification settings - Fork 265
Closed
Labels
Description
On version 10.20.0, preserveTimezones doesn't seem to work at all.
const { Liquid } = require('liquidjs')
new Liquid({ preserveTimezones: true, dateFormat: '%Y-%m-%d %H:%M:%S %z' }).parseAndRender(
`{{ "2025-01-02 03:04:05 -0100" | date }}`
).then(console.log)Actual output: (machine local timezone is UTC-7)
2025-01-01 21:04:05 -0700
Expected output:
2025-01-02 03:04:05 -0100
Reactions are currently unavailable