Actions

Template

Worldclock/doc

From Joomla! Documentation

Revision as of 12:47, 9 May 2008 by CirTap (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
This is a documentation subpage for Template:Worldclock.
It contains usage information, categories and other content that is not part of the original template page.
To view the template page itself, see Template:Worldclock.

Creates a link to the Time and Date homepage with international timezones for a given timestamp: YYYYMMDD.

Contents

Functions/Features

Accepts date and time values in various formats, however standard ISO or Unix notations are the less error prone.

Examples

Parameters

Parameter Name Parameter Description req./opt.
{{{1}}} avalid timestamp YYYYMMDD Required

Known Issues

The time value needs to be adjusted inside the template for the server's timezone offset including DST. Unfortunately this can't be fixed using LocalSettings or user preferences which only provide "display formats", i.e. to adjust the offset for "Europe/Berlin" use "+0 days +2 hours +0 minutes" ~ GMT+1 + 1h DST.

Always use the preview! Garbage in, garbage out: make sure the timestamp is correct or the #time function will fail.