Edge Rewrite
// HTMLRewriter · presentation

This page was redesigned at the edge.

Cloudflare fetched the original article and streamed it through HTMLRewriter to apply an entirely new visual system without rebuilding the source page.

// request.cf · coarse context

A page that knows where it met you.

Only coarse request metadata is shown. This demo does not display or persist visitor IP addresses.

Country
US
Cloudflare location
CMH
Connection
HTTP/2
Language
Not provided

Ray ID: a23421942deaa8fe

Jump to content

Template:Daylight saving offset/doc

From Wikipedia, the free encyclopedia

This template uses Module:time to calculate the output. So most timezones should work. If a timezone doesn't work it needs to be added at Module:time.

Usage

[edit]

This template takes one unnamed parameter (or |1=) for the timezone abbrev. defined in Template:Time (eg. EST and not EDT).

Notes

[edit]

When DST is active it produces 1

When DST isn't active it produces 0

Examples

[edit]
  • MST: {{Daylight saving offset|MST}} → 1
  • NZST: {{Daylight saving offset|NZST}} → 0
  • IST: {{Daylight saving offset|IST}} → 0
  • CET: {{Daylight saving offset|CET}} → 1

See also

[edit]
Current local time templates ()
Based on Module:Time Based on {{Daylight saving active}}
Supported time zones See Template:Time#Supported time zones See Template:Daylight saving active/doc/supported time zones
Offset related
Daylight saving related
(0 when inactive, 1 when active)
Time related