NAME

Blosxom Plug-in: timezone


SYNOPSIS

Lets Blosxom timestamps use a different timezone than the server. Exports 2 variables, $timezone::name and $timezone::offset, so flavors can display the timezone.


VERSION

0.0.3


AUTHOR

Version 0.0.1: Raffi Krikorian <r@bitwaste.com>, http://www.bitwaste.com/. Original version.

Version 0.0.2: Mark Ivey <zovirl@zovirl.com>, http://zovirl.com. Added $timezone::name and extra documentation.

Version 0.0.3: Mark Ivey. Added $timezone::offset.


DESCRIPTION

The format for $blog_timezone is the same as for the tzset C function (www.die.net/doc/linux/man/man3/tzset.3.html). Leave it empty to use the server's default timezone.

$timezone::name and $timezone::offset can be used in flavors, like this: ...posted: $hr:$min $timezone::name ($timezone::offset)...

$timezone::name gives the 3 letter name of the timzone (such as PST or PDT) while $timezone::offset gives the offset from GMT in +/-HHMM format (such as -0800 or -0700).


SEE ALSO

Blosxom Home/Docs/Licensing: http://www.raelity.org/apps/blosxom/

Blosxom Plugin Docs: http://www.raelity.org/apps/blosxom/plugin.shtml


BUGS

This plugin can't be disabled by appending an underscore to the filename (timezone_). I don't think this should cause any problems, but I might be wrong.

Address bug reports and comments to the Blosxom mailing list [http://www.yahoogroups.com/group/blosxom].


LICENSE

timezone Blosxom Plugin Copyright 2003, Raffi Krikorian

Portions Copyright 2003-2004, Mark Ivey

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the ``Software''), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED ``AS IS'', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.