Results 1 to 40 of 390

Thread: Older stats issue

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Administrator Bok's Avatar
    Join Date
    Oct 2003
    Location
    Wake Forest, North Carolina, United States
    Posts
    24,493
    Blog Entries
    13
    We think there is a bug in the timezone code somewhere. The dates held in the database are based on EST time as that is where the box is, but when it shows it it attempts to convert it to a localtime but it's going wrong. Might just revert this to using UTC at somepoint perhaps. It's gopher's baby though so I'll lte him take a look first. (perhaps we had some hacks in the tz code that didn't come over from the old box? )

  2. #2
    Ancient Programmer Paratima's Avatar
    Join Date
    Dec 2001
    Location
    West Central Florida
    Posts
    3,296
    Pooh! I thought you were onto something really good in the Predictive Computing area! Oh, well. If it's just a TZ error, then it's a small one. If you do decide to get into PC, let me know!
    HOME: A physical construct for keeping rain off your computers.

  3. #3
    Free-DC Semi-retire gopher_yarrowzoo's Avatar
    Join Date
    Mar 2002
    Location
    Knoxville, TN
    Posts
    3,985
    Hmm okay I'll have a look at it. I did do a few code changes back and forth to get it work, I guess it broke...

    AH found the problem - had to set the TZ to a custom one since it just wouldn't behave since AZ doesn't do DST but the server kept thinking it did.. fixed line removed and tested working - porting to live or I will as soon as it allows me to
    Last edited by gopher_yarrowzoo; 11-26-2010 at 03:15 PM. Reason: Fixed
    Semi-retired from Free-DC...
    I have some time to help.....
    I need a new laptop,but who needs a laptop when you have a phone...
    Now to remember my old computer specs..


  4. #4
    Ancient Programmer Paratima's Avatar
    Join Date
    Dec 2001
    Location
    West Central Florida
    Posts
    3,296
    Thanks, Gopher. A small item, but good to get it fixed. You guys do great work!
    HOME: A physical construct for keeping rain off your computers.

  5. #5
    Free-DC Semi-retire gopher_yarrowzoo's Avatar
    Join Date
    Mar 2002
    Location
    Knoxville, TN
    Posts
    3,985
    Quote Originally Posted by Paratima View Post
    Thanks, Gopher. A small item, but good to get it fixed. You guys do great work!
    Yeah something we overlooked when the move happened - totally forgot the line was in there, although I should have remembered the amount of code / recode I did when the DST / BST kicked in / out..
    I'm working on getting the "radar" to be a bit more well flexible, and then have it hide / reveal as requested.
    Semi-retired from Free-DC...
    I have some time to help.....
    I need a new laptop,but who needs a laptop when you have a phone...
    Now to remember my old computer specs..


  6. #6
    =>Team Joker<= LAURENU2's Avatar
    Join Date
    Dec 2004
    Location
    Chicago IL USA
    Posts
    5,478
    Blog Entries
    1
    I Like Radar It helps in a Fog

  7. #7
    Free-DC Semi-retire gopher_yarrowzoo's Avatar
    Join Date
    Mar 2002
    Location
    Knoxville, TN
    Posts
    3,985
    Quote Originally Posted by LAURENU2 View Post
    I Like Radar It helps in a Fog
    Yes well writing it and then making it work were two different things, condensing what was basically 4 separate calls to the database into one function so that the function gets the right data and then checks the data to see if it should be "included" i.e there is a threat / opportunity there wasn't easy and making sure it was passed all the right information in order to do that was harder.. it's a function and not part of the normal flow of data so variables and lots of them need to be passed to make it work..
    if anyone wants to have a look at it, I'll try and port it to the "live" stats rather than the "dev test" pages which means a little clean up here and there
    Semi-retired from Free-DC...
    I have some time to help.....
    I need a new laptop,but who needs a laptop when you have a phone...
    Now to remember my old computer specs..


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •