The Furious Angels
FA Discussion => Off Topic => Topic started by: Lithium on March 11, 2007, 12:22:15 pm
-
Please note that FA Time does not observe daylight savings. It is too 'cool' for daylight savings.
-
Damn straight, yo.
-
ohh man more confusion... :)
-
Now I'm two hours off of FA time. :(
-
Are you just too lazy to change it, Lithium? :D
-
No, it's hard coded into the flash somehow I guess.
-
u cant just like, change the time zone on it?
-
wow that sucks lol this might be a bit confusing especially for newer people. If we schedule something and say "FA Time" they may go by our site instead of central oh well atleast now they have an excuse :)
-
Hm...FA Time is always 1 hour behind me...And it's nine where I am now, and it's eight FA time. Has it been fixed?
-
No, it's not fixed. It's somehow hard coded into the swf file I think. So I can't really do much unless I redo the clock altogether.
-
Remember that this is only a problem for the next two weeks, no need to get all worried.
-
Remember that this is only a problem for the next two weeks, no need to get all worried.
Huh?
-
On August 8, 2005, President George W. Bush signed the Energy Policy Act of 2005. This Act changed the time change dates for Daylight Saving Time in the U.S. Beginning in 2007, DST will begin on the second Sunday in March and end the first Sunday in November. The Secretary of Energy will report the impact of this change to Congress. Congress retains the right to resume the 2005 Daylight Saving Time schedule once the Department of Energy study is complete.
Normally DST starts the first Sunday in April and goes to the last Sunday of October.
-
Thank you Dagonet, what this means Eroz is that since Lithium can't change the date at which the server thinks it should shift the time for DST we have to wait until April until it re-aligns itself which is approx. 2 weeks.
-
I thought the reason DST is off is because it would be off period, the Flash itself is broken, DST would never work on it.
-
DST has never worked on that clock.
-
yeah it wont change even when it would usually, its always been broke.
-
LOL, then obviously disregard my previous posts...
-
Yeah, ket told me a long time ago it is the way it is coded. I like the clock so I really don't think it should be messed with... it just doesn't care about DST.... idk... whatever.
-
FAT now observes DST.
-
lol way to go Eroz.
-
what did you do?
-
I used a little program called SWF to FLA, that converted the clock (SWF format) to its FLA (Flash format) so I could edit the file. Once I had the FLA I poked around the code, originally I screwed around with the time varible and subtracted 60 minutes, but then I noticed that hard coded into the flash is was TZO (Which stands for Time Zone Offset (Which is why you should always code with variable names that make sense.)). And just changed that number from -6 to -5 which fixed it. (The editing had to be done via Adobe Flash, which the 30 day trial allowed me to do (Or I could have just hit up my campus computers, but that meant walking outside.) Now Lithium has to change the block to point to the proper SWF during DST or not.
www.sothink.com/flashdecompiler/
-
wtg eroz, I just hope that in 2 weeks when it was supposed to turn over it doesn't do so. Then the time will be an hour in the oposite direction, but it seems easy enough to fix now atleast.
-
wtg eroz, I just hope that in 2 weeks when it was supposed to turn over it doesn't do so. Then the time will be an hour in the oposite direction, but it seems easy enough to fix now atleast.
The way the flash is encoded it doesn't even calculate DST, it won't switch.