Foswiki::Time::formatTime defaults to GMT if no time zone is specified. This is at odds with the configure option $Foswiki::cfg{DisplayTimeValues}

IMHO the spec of Foswiki::Time::formatTime should be changed.

-- CrawfordCurrie - 29 Jan 2009

concur.

-- SvenDowideit - 08 Feb 2009

We are already fighting with mysterious conversions happening in plugins. And it is often us living the to east of Greenwich that see the trouble.

The best is that time in is in same time zone as time out - unless you explicitly ask for a conversion to take place.

If someone touches this, please make sure you test the code in server setups both east and west of Greenwich. When you live in GMT land you miss these problems.

-- KennethLavrsen - 16 Jun 2009

Agreed. And as such, it would be best if someone outside GMT/BST addressed it, as I always seem to get it wrong.

-- CrawfordCurrie - 17 Jun 2009

The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. see CopyrightStatement. Creative Commons LicenseGet Foswiki at sourceforge.net. Fast, secure and Free Open Source software downloads