Welcome to Geeklog, Anonymous Wednesday, February 19 2025 @ 12:42 am EST
Geeklog Forums
strange behavior of the Timezone hack
Status: offline
Rado1
Forum User
Newbie
Registered: 03/03/03
Posts: 8
Location:Europe/Prague
I have running 1.3.6 GL [1.3.7 has one feature which I don't want :-((].
I have used "Timezone hack" but behavior is as follows:
server time is for ex. 8.30 pm ["date" commnad]
"story editor" shows me time 7.30 pm
and after publishing the story I see time 6.30 pm.
Timezone for my server is "Europe/Bratislava" which is GMT+1
Any hints?
Thanks...
14
16
Quote
Status: offline
Dirk
Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
No help on the timezone hack, sorry.
But I would be interested to hear why you don't want to upgrade to 1.3.7. You know that versions older than 1.3.7sr1 have security problems, don't you?
bye, Dirk
13
14
Quote
Anonymous
Anonymous
1.3.7 has one feature which I don't want :-((
10
13
Quote
Anonymous
Anonymous
What timezone hack are you using?
15
11
Quote

Quote by Joe: I think I found the issue with changing timezones and the story edit not working properly.
On line 910, I changed the DB_save call a little. Instead of storing $date, I changed it to FROM_UNIXTIME($unixdate).
That seemed to solve the issue with having a different time after a story is stored.
On line 910, I changed the DB_save call a little. Instead of storing $date, I changed it to FROM_UNIXTIME($unixdate).
That seemed to solve the issue with having a different time after a story is stored.
this corrected the time that a post is posted at, BUT the year changes to 1979, anyone got any ideas???

The GL version im using is 1.3.8-1sr4.
cheers.
11
15
Quote
Status: offline
Stubdoo
Forum User
Junior
Registered: 03/14/03
Posts: 24

Is there a time limit until is shows in the topic?? i don't think there is just wanted to check

any fixes for this cheers

11
13
Quote
All times are EST. The time is now 12:42 am.
- Normal Topic
- Sticky Topic
- Locked Topic
- New Post
- Sticky Topic W/ New Post
- Locked Topic W/ New Post
- View Anonymous Posts
- Able to post
- Filtered HTML Allowed
- Censored Content