Closed domdomegg closed 4 months ago
The date docs suggest LiquidJS supports Ruby format flags, including the %Z flag for timezone name (given this is not in the list of differences).
%Z
However, LiquidJS does not appear to support this.
Demo: https://liquidjs.com/playground.html#e3sgIjIwMjQtMDQtMjlUMDk6MDA6MDAuMDAwWiIgfCBkYXRlOiAiJUk6JU0lUCAlWiIgfX0=,e30=
{{ "2024-04-29T09:00:00.000Z" | date: "%I:%M%P %Z" }}
Problem
The date docs suggest LiquidJS supports Ruby format flags, including the
%Z
flag for timezone name (given this is not in the list of differences).However, LiquidJS does not appear to support this.
Demo
Demo: https://liquidjs.com/playground.html#e3sgIjIwMjQtMDQtMjlUMDk6MDA6MDAuMDAwWiIgfCBkYXRlOiAiJUk6JU0lUCAlWiIgfX0=,e30=
Suggested solutions
%Z
flag (preferred)