1 |
On Thu, 2006-11-02 at 17:53 +0700, Robin Atwood wrote: |
2 |
> On Thursday 02 November 2006 15:35, Ow Mun Heng wrote: |
3 |
> > Has anyone seen this problem? I've tried to rebuild perl and logwatch |
4 |
> > and timezone-data |
5 |
> > |
6 |
> > ERROR: Date::Manip unable to determine TimeZone. |
7 |
> > at /usr/lib/perl5/vendor_perl/5.8.8/Date/Manip.pm line 3635 |
8 |
> > Date::Manip::Date_TimeZone called |
9 |
> > at /usr/lib/perl5/vendor_perl/5.8.8/Date/Manip.pm line 676 |
10 |
> > Date::Manip::Date_Init() called |
11 |
> > at /usr/lib/perl5/vendor_perl/5.8.8/Date/Manip.pm line 799 |
12 |
> > Date::Manip::ParseDateString('epoch 1162369100') called |
13 |
> > at /usr/share/logwatch/lib/Logwatch.pm line 508 |
14 |
> > Logwatch::TimeBuild() called at /usr/sbin/logwatch.pl line 731 |
15 |
> |
16 |
> I have been through this, Perl doesn't understand Far Eastern time zones like |
17 |
> this: |
18 |
> |
19 |
> robin@opal ~ $ date |
20 |
> Thu Nov 2 17:52:10 ICT 2006 |
21 |
> |
22 |
> I resorted to hacking /etc/cron.daily/00-logwatch and adding: |
23 |
> |
24 |
> export TZ="+0700" |
25 |
> |
26 |
> which fixes the problem. Adjust your offset accordingly... :) |
27 |
|
28 |
|
29 |
Thanks. It works. |
30 |
|
31 |
$ date |
32 |
Fri Nov 3 00:11:57 MYT 2006 |
33 |
|
34 |
export TZ="+0800" |
35 |
|
36 |
|
37 |
-- |
38 |
gentoo-user@g.o mailing list |