Malline:Dst

RuneWikistä, vapaasta RuneScape-aiheisesta tietosanakirjasta. Tänään on 26. huhtikuuta 2024.
Siirry valikkoon Siirry hakuun

Virhe lausekkeessa: tunnistamaton välimerkki ”{”.

Template documentation[muokkaa wikitekstiä]

This template determines whether daylight saving time is currently in effect.

Syntax[muokkaa wikitekstiä]

{{dst|rule|datetime}}

Usage[muokkaa wikitekstiä]

This template determines whether daylight saving time is currently in effect. Since DST starts and ends at different times for different locations, three DST rules are supported: one for the US/Canada, one for Europe (which uses the same rule throughout), and one for Australia, excluding Tasmania (which is on a slightly different rule).

In North America and Australia, time switches between DST and standard at a certain local time, so this template may be a few hours early or late to update depending on your location. Time changes in all of Europe at 1:00 UTC, so this isn't an issue there.

Depending on the DST rule desired, "us", "uk", "aus" or "none" should be given as parameter to this template (defaults to "us").

By default, the DST given is for the current data and time. If the DST for a different datetime is desired, then this can be obtained by specifying the datetime string.