Last changes time wrong?

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Last changes time wrong?

Leon Kolchinsky
Hello All,

I have this problem with the "Last change" time for wiki pages.
Whenever page is created it's time is OK on clock check.
But when you go to and check "Last changes" you can see that the clock is 2 hours back :(

I'm running gentoo and my clock settings are as following in /etc/conf.d/clock:
CLOCK="GMT"
TIMEZONE="Israel"
CLOCK_OPTS=""
CLOCK_SYSTOHC="no"
SRM="no"
ARC="no"

What could be the problem here?


Best Regards,
Leon

_______________________________________________
MediaWiki-l mailing list
[hidden email]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
Reply | Threaded
Open this post in threaded view
|

Re: Last changes time wrong?

Herta Van den Eynde-2
On 21/02/2008, Leon Kolchinsky <[hidden email]> wrote:

> Hello All,
>
>  I have this problem with the "Last change" time for wiki pages.
>  Whenever page is created it's time is OK on clock check.
>  But when you go to and check "Last changes" you can see that the clock is 2 hours back :(
>
>  I'm running gentoo and my clock settings are as following in /etc/conf.d/clock:
>  CLOCK="GMT"
>  TIMEZONE="Israel"
>  CLOCK_OPTS=""
>  CLOCK_SYSTOHC="no"
>  SRM="no"
>  ARC="no"
>
>  What could be the problem here?
>
>
>  Best Regards,
>  Leon
>
What is your setting for $wgLocaltimezone (in
includes/DefaultSettings.php and LocalSettings.php)?

Kind regards,

Herta
--
"Life on Earth may be expensive,
 but it comes with a free ride around the Sun."

_______________________________________________
MediaWiki-l mailing list
[hidden email]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
Reply | Threaded
Open this post in threaded view
|

Re: Last changes time wrong?

Herta Van den Eynde-2
On 21/02/2008, Herta Van den Eynde <[hidden email]> wrote:

> On 21/02/2008, Leon Kolchinsky <[hidden email]> wrote:
>  > Hello All,
>  >
>  >  I have this problem with the "Last change" time for wiki pages.
>  >  Whenever page is created it's time is OK on clock check.
>  >  But when you go to and check "Last changes" you can see that the clock is 2 hours back :(
>  >
>  >  I'm running gentoo and my clock settings are as following in /etc/conf.d/clock:
>  >  CLOCK="GMT"
>  >  TIMEZONE="Israel"
>  >  CLOCK_OPTS=""
>  >  CLOCK_SYSTOHC="no"
>  >  SRM="no"
>  >  ARC="no"
>  >
>  >  What could be the problem here?
>  >
>  >
>  >  Best Regards,
>  >  Leon
>  >
>
> What is your setting for $wgLocaltimezone (in
>  includes/DefaultSettings.php and LocalSettings.php)?
>
>  Kind regards,
>
>  Herta
>
> --
>  "Life on Earth may be expensive,
>   but it comes with a free ride around the Sun."
>


--
Herta Van den Eynde -=- 51°09'08" N 004°28'09.60" E

"Life on Earth may be expensive,
 but it comes with a free ride around the Sun."
Sorry.  Missed out.  Try adding this line to back :(

>  >
>  >  I'm running gentoo and my clock settings are as following in /etc/conf.d/clock:
>  >  CLOCK="GMT"
>  >  TIMEZONE="Israel"
>  >  CLOCK_OPTS=""
>  >  CLOCK_SYSTOHC="no"
>  >  SRM="no"
>  >  ARC="no"
>  >
>  >  What could be the problem here?
>  >
>  >
>  >  Best Regards,
>  >  Leon
>  >
>
> What is your setting for $wgLocaltimezone (in
>  includes/DefaultSettings.php and LocalSettings.php)?
>
>  Kind regards,
>
>  Herta
>
> --
>  "Life on Earth may be expensive,
>   but it comes with a free ride around the Sun."
>


--
Herta Van den Eynde -=- 51°09'08" N 004°28'09.60" E

"Life on Earth may be expensive,
 but it comes with a free ride around the Sun."
Sorry.  Missed out.  Try adding this line to back :(

>  >
>  >  I'm running gentoo and my clock settings are as following in /etc/conf.d/clock:
>  >  CLOCK="GMT"
>  >  TIMEZONE="Israel"
>  >  CLOCK_OPTS=""
>  >  CLOCK_SYSTOHC="no"
>  >  SRM="no"
>  >  ARC="no"
>  >
>  >  What could be the problem here?
>  >
>  >
>  >  Best Regards,
>  >  Leon
>  >

Ignore previous.  Try adding this line to LocalSettings.php:

$wgLocalTZoffset = date("Z") / 60;

Kind regards,

Herta
--
"Life on Earth may be expensive,
 but it comes with a free ride around the Sun."

_______________________________________________
MediaWiki-l mailing list
[hidden email]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
Reply | Threaded
Open this post in threaded view
|

Re: Last changes time wrong?

Leon Kolchinsky
In reply to this post by Leon Kolchinsky
>
> Ignore previous.  Try adding this line to LocalSettings.php:
>
> $wgLocalTZoffset = date("Z") / 60;
>
> Kind regards,
>
> Herta

Thanks Herta,

It was exactly that.
I've added $wgLocalTZoffset = date("Z") / 60; to LocalSettings.php and it worked like a charm.

Best Regards,
Leon Kolchinsky

_______________________________________________
MediaWiki-l mailing list
[hidden email]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l