Template:Hebrew calendar today in time zone/doc
This is a documentation subpage for Template:Hebrew calendar today in time zone. It may contain usage information, categories and other content that is not part of the original template page. |
This template gives the current date on the Hebrew calendar (Jewish calendar). It makes use of the template {{Current hour offset in time zone}}, so that it will show the proper date based on your chosen time zone. See below for the currently supported time zones.
Usage
changeDefault
change{{Hebrew calendar today in time zone}}
Without parameters, the template returns the Hebrew calendar date based on UTC (which is the server's time zone).
With time zone abbreviation
change{{Hebrew calendar today in time zone|time_zone[|erev][|dst=no]}}
- ('
[...]
' means 'optional', do not include the square brackets when using this template)
where
- time_zone is the desired time zone abbreviation (see below and also the list of time zone abbreviations);
- erev is an optional parameter to force the Hebrew calendar date to advance at 18:00 (6:00 pm) local time. See below.
dst
is an optional parameter to disable automatic daylight saving time adjustment by setting the value to "no";
If a DST variant of a particular time zone exists, then the time is automatically adjusted according to DST by default.
If the dst
parameter is not used, the template uses {{Daylight saving in time zone}} to automatically adjust the offset according to daylight saving time (DST), if applicable.
With time offset
change{{Hebrew calendar today in time zone|offset=offset[|2=erev]}}
- offset is the time offset from UTC/GMT in hours; see map below. Non-integer offsets are valid. Template cannot accommodate DST when using offset. When
offset
is present, any time zone abbreviation is ignored. - erev is an optional parameter to force the Hebrew calendar date to advance at 18:00 (6:00 pm) local time. See below.
erev parameter: Hebrew dates begin the evening before
changeThe MediaWiki software, and therefore this template, normally calculate date conversions using conventional midnight-to-midnight days. For example, this template would return the Hebrew calendar date 1 Elul 5773 for the entire Gregorian day of 7 August 2013.
However, Hebrew calendar dates actually run from sundown to sundown. Thus 1 Elul 5773 actually begins at sundown on 6 August, while 2 Elul begins at sundown on 7 August. To approximate this behavior, the parameter erev
forces the template to advance the Hebrew calendar date at 18:00 (6:00 pm) in the time zone selected. Thus, at 6:00 pm on 7 August, the template would advance the Hebrew calendar date to 2 Elul. (The page might need to be purged.)
- When the
erev
parameter is used alone, or when it used with theoffset
parameter, theerev
parameter must be entered as2=erev
.
Supported time zones
changeCurrently the following time zones are supported:}}