Initial import of debian package files
[matthijs/upstream/blosxom.git] / debian / plugins-available / timezone
1 # Blosxom Plugin: timezone
2 # Author(s): Raffi Krikorian <r@bitwaste.com>
3 # Version: 0.0.1
4 # Documentation: See the bottom of this file or type: perldoc timezone
5
6 package timezone;
7
8 # --- Configurable variables -----
9
10 # what timezone is the blog author in
11 my $blog_timezone = "EST5EDT";
12
13 # --------------------------------
14
15 sub start {
16     $ENV{TZ} = $blog_timezone;    
17     1;
18
19 }
20
21 1;
22
23 __END__
24
25 =head1 NAME
26
27 Blosxom Plug-in: timezone
28
29 =head1 SYNOPSIS
30
31 Causes the Blosxom timestamps to reflect a specific timezone that is
32 not necessarily the timezone of the machine the blog is hosted on.
33
34 =head1 VERSION
35
36 0.0.1
37
38 =head1 AUTHOR
39
40 Raffi Krikorian <r@bitwaste.com>, http://www.bitwaste.com/
41
42 =head1 SEE ALSO
43
44 Blosxom Home/Docs/Licensing: http://www.raelity.org/apps/blosxom/
45
46 Blosxom Plugin Docs: http://www.raelity.org/apps/blosxom/plugin.shtml
47
48 =head1 BUGS
49
50 Address bug reports and comments to the Blosxom mailing list 
51 [http://www.yahoogroups.com/group/blosxom].
52
53 =head1 LICENSE
54
55 timezone Blosxom plugin
56 Copyright 2003, Raffi Krikorian
57
58 Permission is hereby granted, free of charge, to any person obtaining a
59 copy of this software and associated documentation files (the "Software"),
60 to deal in the Software without restriction, including without limitation
61 the rights to use, copy, modify, merge, publish, distribute, sublicense,
62 and/or sell copies of the Software, and to permit persons to whom the
63 Software is furnished to do so, subject to the following conditions:
64
65 The above copyright notice and this permission notice shall be included
66 in all copies or substantial portions of the Software.
67
68 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
69 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
70 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
71 THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
72 OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
73 ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
74 OTHER DEALINGS IN THE SOFTWARE.