Go Back   FlashFXP Forums > > >

Bug Reports Report bugs here.

 
 
Thread Tools Display Modes
Old 07-31-2004, 04:01 AM   #1
Rocko
Junior Member
FlashFXP Registered User
 
Join Date: Jul 2004
Location: Germany
Posts: 4
Default Time Zone Setting in Site Manager is totally incorrect (times are vice-versa)

Hi.

The Time Zone Setting in the Site Manager in FlashFXP 3.0 .1015 has a bug.

As Example:
The Server time is GMT+0 (10 pm)
Then I set GMT+1, as the result, FlashFXP shows me now 9 pm.
It should show me 11 pm !

Then I set GMT-1, as the result, FlashFXP shows me now 11 pm.
It should show me 9 pm !

So the times are vice versa and not correct.
Any comments if this is a bug?
Rocko is offline  
Old 07-31-2004, 01:05 PM   #2
Harm
Too much time...
Ultimate Scripter
 
Join Date: Jul 2003
Posts: 1,430
Default

The server timezone is the server timezone.
It is used to adjust the date/time displayed in the listview so it matches your timezone.

I'll give an example based on yours.
Let's say you create a folder at 10pm on the server which is gmt+0.
If you use the default settings in flashfxp (use server time), the creation time for this folder will be displayed as 10pm.
Now, you change the site settings so it becomes gmt+1 (but the site is still gmt+0). Then FlashFXP receives a time (10pm) and adjusts it to your timezone (ie. gmt). 10pm gmt+1 = 9pm gmt.
If you change the setting again to be gmt-1, it's adjusted like that: 10pm gmt-1 = 11pm gmt.

I hope it will help you to understand how it works.. and that I'm right. Maybe someone from the dev team could confirm it.
Harm is offline  
Old 07-31-2004, 02:35 PM   #3
Rocko
Junior Member
FlashFXP Registered User
 
Join Date: Jul 2004
Location: Germany
Posts: 4
Default

Thanks for your explanation, but thats still wrong.

GMT-2 is 8 PM
GMT-1 is 9 pm
GMT+0 is 10 pm
GMT+1 is 11 pm
GMT+2 is 12 pm

that are the timezones

And this timezones are wrong.
GMT-1 is 11 pm
GMT+0 is 10 pm
GMT+1 is 9 pm

Or have I misunderstood something?
Rocko is offline  
Old 07-31-2004, 03:31 PM   #4
Harm
Too much time...
Ultimate Scripter
 
Join Date: Jul 2003
Posts: 1,430
Default

Indeed, but the timestamp the server sends is still the same, in your case 10pm. Then FlashFXP uses the site settings to adjust the displayed time.
If the server was gmt-1 and was sending a timestamp for 10pm, then it would be displayed as 11pm (assuming your timezone is gmt) because 10pm gmt-1 is 11pm gmt.
Harm is offline  
Old 07-31-2004, 03:39 PM   #5
bigstar
FlashFXP Developer
FlashFXP Administrator
ioFTPD Beta Tester
 
bigstar's Avatar
 
Join Date: Oct 2001
Posts: 8,012
Default

Harm that was a pretty good explaination.

Using the time zone information set in the site profile the server time is converted to UTC then using your windows time zone settings the UTC time is converted to the local windows time.

This is required to properly perseve daylight savings/standard time.

Rocko Due to the way the calculation is performed (as explained above) adjusting the site profile timezone ahead one hour has a negitive effect.
bigstar is offline  
 

Tags
flashfxp, set, show, shows, time

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
GuildFTPd command set (import) Jesper Custom Commands 4 07-29-2011 12:41 AM


All times are GMT -5. The time now is 11:16 AM.

Parts of this site powered by vBulletin Mods & Addons from DragonByte Technologies Ltd. (Details)