Not logged in. · Lost password · Register
Page:  1  2  3  4  5  6  next 

All posts by Saxtus (84)

topic: Log viewer timezone  in the forum: Support Bug reports and troubleshooting
Avatar
Saxtus #1
Member since Jan 2007 · 84 posts · Location: Athens, Greece
Group memberships: Members
Show profile · Link to this post
Cookie? Don't you mean the HTTP request?
There is a great javascript function that gets machine's timezone (as configured by windows).
I've only seen it work right at Google calendar API functions however...
The Answer to Life, the Universe, and Everything = 42
topic: Log viewer timezone  in the forum: Support Bug reports and troubleshooting
Avatar
Saxtus #2
Member since Jan 2007 · 84 posts · Location: Athens, Greece
Group memberships: Members
Show profile · Link to this post
In reply to post ID 10228
Out of curiosity: Does UNB2 continues to ask just the UTC difference at users profiles?
The Answer to Life, the Universe, and Everything = 42
topic: Log viewer timezone  in the forum: Support Bug reports and troubleshooting
Avatar
Saxtus #3
Member since Jan 2007 · 84 posts · Location: Athens, Greece
Group memberships: Members
Show profile · Link to this post
In reply to post ID 10219
Oh... I forgot about that...
Meh... either way XMPP support didn't work well because of Gtalk, so I dumped it but correct time is of the essence!
The Answer to Life, the Universe, and Everything = 42
topic: Log viewer timezone  in the forum: Support Bug reports and troubleshooting
Avatar
Saxtus #4
Member since Jan 2007 · 84 posts · Location: Athens, Greece
Group memberships: Members
Show profile · Link to this post
In reply to post ID 10217
Real job probably interfered! :rolleyes:
I just hope that he appreciates our enthusiasm.
The Answer to Life, the Universe, and Everything = 42
topic: Log viewer timezone  in the forum: Support Bug reports and troubleshooting
Avatar
Saxtus #5
Member since Jan 2007 · 84 posts · Location: Athens, Greece
Group memberships: Members
Show profile · Link to this post
In reply to post ID 10215
PHP5 already has everything you may need, take a look at post #10198 (here is the output of DateTimeZone::listAbbreviations() in my server running PHP5)
There is nothing like this in PHP4 so people are forced to use manual methods, like this.
My suggestion was to keep current time calculations as is when PHP4 is detected and implement the PHP5 functions when PHP5 is detected.
The only drawback I see is that if someone decides to move the board from PHP5, back to PHP4, will mess up the timezone settings.
The Answer to Life, the Universe, and Everything = 42
This post was edited on 2009-03-05, 09:28 by Saxtus.
topic: Log viewer timezone  in the forum: Support Bug reports and troubleshooting
Avatar
Saxtus #6
Member since Jan 2007 · 84 posts · Location: Athens, Greece
Group memberships: Members
Show profile · Link to this post
In reply to post ID 10213
About DST problems for servers hosted in US:
Does the current system can display correct time for all users in board (regardless of log files) with the current system that asks user about their UTC deviation (instead of town) or we have going to have weird times from this Sunday? :'(
The Answer to Life, the Universe, and Everything = 42
topic: Log viewer timezone  in the forum: Support Bug reports and troubleshooting
Avatar
Saxtus #7
Member since Jan 2007 · 84 posts · Location: Athens, Greece
Group memberships: Members
Show profile · Link to this post
In reply to post ID 10210
Excellent work. It works as expected (i.e. for my server, log begins from 7am and ends at 7am of next day).
I guess till Sunday, when DST at US kicks-in and destroys everything board-wide until the end of the month! ^_^
The Answer to Life, the Universe, and Everything = 42
topic: Log viewer timezone  in the forum: Support Bug reports and troubleshooting
Avatar
Saxtus #8
Member since Jan 2007 · 84 posts · Location: Athens, Greece
Group memberships: Members
Show profile · Link to this post
In reply to post ID 10207
Quote by jense:
please do not treat me as if I am an idiot.
I did not. I've just stated the truth: For two consecutive posts you chose not to answer that part of my post so I assumed that you read it too fast and skipped it both times.

Quote by jense:
* if the actual time zome in the files is changed, how will you achieve that *any other previous log file* becomes incorrect?
What happened to your previous statement: "All in all its just log files..."?

I am not going to argue anymore, Yves asked for suggestions and we both give ours.
I still can't see how your suggestion will solve DST problems but hey, I am probably the idiot here...

I guess Yves is the best person to tell us what will finally happen (if anything happens at all).
The Answer to Life, the Universe, and Everything = 42
topic: Log viewer timezone  in the forum: Support Bug reports and troubleshooting
Avatar
Saxtus #9
Member since Jan 2007 · 84 posts · Location: Athens, Greece
Group memberships: Members
Show profile · Link to this post
In reply to post ID 10205
According to your solution, people that are (for example's sake) 8 hours away of GMT they will not be able to see all day's log some hours of the day, because either they will see previous day's file that doesn't have latest records or an empty file that just haven't created yet.
So it seems I have to mention for third time in the same thread that it will break the log's filter function and it seems (at least to me) by far the most time-consuming task for Yves to fix...
The Answer to Life, the Universe, and Everything = 42
topic: Log viewer timezone  in the forum: Support Bug reports and troubleshooting
Avatar
Saxtus #10
Member since Jan 2007 · 84 posts · Location: Athens, Greece
Group memberships: Members
Show profile · Link to this post
In reply to post ID 10203
Quote by jense:
It is.  I see date and times in my selected timezone and with correct DST all over the place.  Where should they come from, if it won't work?

http://newsboard.unclassified.de/forum/post/10198 (PHP5 only)
http://www.timeanddate.com/news/time/usa-canada-dst-march-…
The Answer to Life, the Universe, and Everything = 42
topic: Log viewer timezone  in the forum: Support Bug reports and troubleshooting
Avatar
Saxtus #11
Member since Jan 2007 · 84 posts · Location: Athens, Greece
Group memberships: Members
Show profile · Link to this post
In reply to post ID 10201
Quote by jense:
Converting GMT date/times to any timezone is trivial in PHP.

No, it isn't.
At least not with current setup of "select time diff from GMT" and the DST changes nightmare.
And still the log filter must be heavily adjusted to convert on the fly what user requested as log files are served by day. We can't ask that from Yves, it's just too boring.
The Answer to Life, the Universe, and Everything = 42
topic: Log viewer timezone  in the forum: Support Bug reports and troubleshooting
Avatar
Saxtus #12
Member since Jan 2007 · 84 posts · Location: Athens, Greece
Group memberships: Members
Show profile · Link to this post
In reply to post ID 10199
You're suggesting to use GMT for saving log files and then you say to present them with administrator's timezone?
How is that possible considering that the log files are saved per-day? The filter will brake...
The Answer to Life, the Universe, and Everything = 42
This post was edited on 2009-03-03, 13:38 by Saxtus.
topic: Log viewer timezone  in the forum: Support Bug reports and troubleshooting
Avatar
Saxtus #13
Member since Jan 2007 · 84 posts · Location: Athens, Greece
Group memberships: Members
Show profile · Link to this post
In reply to post ID 10197
When you detect PHP5 (the majority of shared hosting servers upgraded to it), instead of asking the time offset, ask the user's town.
Then you can use date_default_timezone_set.

There is a nice code to populate the town list for a drop down menu here.
The Answer to Life, the Universe, and Everything = 42
topic: "Invalid e-mail address" error  in the forum: Support Bug reports and troubleshooting
Avatar
Saxtus #14
Member since Jan 2007 · 84 posts · Location: Athens, Greece
Group memberships: Members
Show profile · Link to this post
In reply to post ID 10163
Quote by Yves:
Saxtus, I'm notifying you here that I'm not going to manually confirm anything to your mailbox. Please do not use a mailbox that cannot receive e-mails or I may lock/remove your board account. Thank you.

That was another bug...
Somehow my (now current) e-mail address in my profile was unconfirmed (probably had it there before the 2008-08-04 patch) and I couldn't make system to resend me the confirmation e-mail until I was changing to a temporary one that probably gave error and then back to my correct/gravatar one that I validated myself.

I didn't want to cause trouble but I didn't knew what else to do...
The Answer to Life, the Universe, and Everything = 42
topic: Log viewer timezone  in the forum: Support Bug reports and troubleshooting
Avatar
Saxtus #15
Member since Jan 2007 · 84 posts · Location: Athens, Greece
Group memberships: Members
Show profile · Link to this post
In reply to post ID 10164
Unfortunately this is impossible for most Europeans that rent a virtual private server in US but I understand where the problem lies.
The Answer to Life, the Universe, and Everything = 42
Close Smaller – Larger + Reply to this post:
Special characters:
Page:  1  2  3  4  5  6  next 
Special queries
Go to forum
This board is powered by the Unclassified NewsBoard software, 20120620-dev, © 2003-2011 by Yves Goergen
Page created in 233.6 ms (179.2 ms) · 151 database queries in 129.1 ms
Current time: 2013-05-19, 04:00:43 (UTC +02:00)