TMC is an independent, primarily volunteer organization that relies on ad revenue to cover its operating costs. Please consider whitelisting TMC on your ad blocker or making a Paypal contribution here: paypal.me/SupportTMC

WED Dec 31?? Really??

Discussion in 'Model S: User Interface' started by dennis, Dec 31, 2013.

  1. dennis

    dennis P85D

    Joined:
    Jul 26, 2012
    Messages:
    1,222
    Location:
    Silicon Valley CA
    8B1FDDC2-7CED-4756-8B2F-366331C32D17_zps0zltsm0u.jpg

    Has anybody else seen this (today IS Tuesday)? I reported to Technical Support and they are baffled as well.

    The only possible explanation I can think of is that the year got prematurely bumped to 2014.
     
  2. sp4rk

    sp4rk Banned

    Joined:
    Apr 25, 2012
    Messages:
    1,219
    Location:
    Schaumburg, IL
    How did it feel? Losing an entire day? :)
     
  3. MikeC

    MikeC Active Member

    Joined:
    Jul 9, 2012
    Messages:
    2,405
    Location:
    Los Angeles
    Just checked and mine also says Wednesday. Some kind of end of year software glitch?
     
  4. Zextraterrestrial

    Joined:
    Mar 11, 2010
    Messages:
    3,636
    Location:
    Humboldt/Los Altos
    2012?

    Still feels like Monday
     
  5. vgrinshpun

    vgrinshpun Active Member

    Joined:
    Apr 5, 2013
    Messages:
    3,867
    Location:
    PA
    Any IT specialists in the family? Practical joke?
     
  6. steve841

    steve841 Active Member

    Joined:
    Jan 17, 2010
    Messages:
    1,397
    Location:
    Ft. Lauderdale, FL
    That's funny .. I can picture this sending Elon through the roof.
     
  7. Vger

    Vger Active Member

    Joined:
    Apr 10, 2009
    Messages:
    1,683
    Location:
    Salt Spring Island, BC, Canada
    Yes, perhaps prematurely in relation to some far eastern time zone. UTC would not quite do it, so it is rather baffling.
     
  8. Lump

    Lump Active Member

    Joined:
    Mar 31, 2013
    Messages:
    2,104
    Location:
    So. Cal.
    Same...
    IMG_0565.JPG
     
  9. sp4rk

    sp4rk Banned

    Joined:
    Apr 25, 2012
    Messages:
    1,219
    Location:
    Schaumburg, IL
    I'm jealous.

    Mine is working fine. Still Tuesday. CST.
     
  10. GuySmily

    GuySmily New Member

    Joined:
    Jan 3, 2013
    Messages:
    3
    Location:
    Sacramento, CA
    Seems like a potentially easy mistake to make in a programming sense. Since 12/31/14 (one year off) is a Wednesday, this is probably a simple case of using >= instead of > or something like that. Still, this seems a bit odd. The day of the week doesn't depend on what year it is (or where we are within that year), so I don't know why someone would code in a comparison like that in the first place.

    Usually the date is stored in a standardized manner, such as "the number of days since 1/1/1900." In VB, for example, day 1 is 12/31/1899, and today (12/31/13) is day 41369. To determine the day of the week, you just need to mod today's date (41369) by 7. For those who don't know, mod (modulus) means to divide and get the remainder. For example, 15/7 = 2 remainder 1, so 15 mod 7 = 1. If you mod today's date by 7, the answer should give you the day of the week.

    Since 12/31/1899 (day 1) was a Sunday, this gives you:
    1=Sun
    2=Mon
    3=Tue
    4=Wed
    5=Thu
    6=Fri
    0=Sat (because 7/7 is 1, remainder 0)

    Today (12/31/13) is 41369, so:
    41639 mod 7 = 3 (Tuesday)

    I suspect that they correctly calculated the date, but for next year. 12/31/14 is 42004, so:
    42004 mod 7 = 4 (Wednesday)

    Sorry for the programming lesson. Anyway, to make this kind of mistake (assuming it's triggered only on the last day of the year), there was probably a simple logic error, such as the calculation happening on the wrong side of an If statement, or the wrong operator (> instead of >=) being used.

    I would LOVE to examine the code behind this. Too bad it's probably something we'll never see.
     
  11. TEG

    TEG TMC Moderator

    Joined:
    Aug 20, 2006
    Messages:
    17,252
    Location:
    Silicon Valley
    Yeah, Dec 31st is Wednesday in 2014.

    And it is already Wednesday, 2014 (but Jan 1) accross the dateline in places like Australia.
    The logic to figure out the day of the week must be 'goofy'. Maybe some sort of universal time translation bug going between date and day.

    By the way, I had run into a 'bug' 14 years ago, when trying to one-click record the year 2000 new years eve fireworks show on my Tivo. It tried to go back and record the bit of 'buffer' from the previous year and ended up crashing and rebooting the unit instead of recording the show.
     
  12. Todd Burch

    Todd Burch Electron Pilot

    Joined:
    Nov 3, 2009
    Messages:
    4,734
    Location:
    Smithfield, VA
    Me too...

    Between the messed up time change in the Fall, and this...well...the clock programmer at Tesla needs to get canned! Embarassing when your cutting edge car can't even tell time!

    image.jpg

    BTW, Happy Teslaversary to me!
     
  13. Btrflyl8e

    Btrflyl8e Active Member

    Joined:
    Mar 24, 2013
    Messages:
    2,276
    Location:
    Seminole, Florida, United States
    Funny, I had to grab my phone to check since I took a pic earlier today for other reasons and never even noticed
    20131231_125827.jpg
     
  14. dennis

    dennis P85D

    Joined:
    Jul 26, 2012
    Messages:
    1,222
    Location:
    Silicon Valley CA
    And mine just magically changed to TUE while I was in Starbucks. I haven't received the promised callback from Tech Support so I don't know if/how they intervened.
     
  15. AnOutsider

    AnOutsider S532 # XS27

    Joined:
    Apr 3, 2009
    Messages:
    11,923
    Heh, remember how many years the iPhone has had similar time/date issues.
     
  16. Krugerrand

    Krugerrand Active Member

    Joined:
    Jul 13, 2012
    Messages:
    4,271
    Location:
    California
    Because it's an end of the world mistake and therefore someone needs to be punished for it. :rolleyes:
     
  17. Todd Burch

    Todd Burch Electron Pilot

    Joined:
    Nov 3, 2009
    Messages:
    4,734
    Location:
    Smithfield, VA
    I was being a bit sarcastic :).
     
  18. ecarfan

    ecarfan Well-Known Member

    Joined:
    Sep 21, 2013
    Messages:
    10,359
    Location:
    San Mateo, CA
    Mine shows Tue as of 5:37PM PST. On the latest firmware release.
     
  19. Theshadows

    Theshadows Active Member

    Joined:
    Apr 20, 2013
    Messages:
    1,896
    Location:
    PA
    I just checked and ours is right and we are on the east coast.
     
  20. ausdma

    ausdma Member

    Joined:
    Sep 21, 2013
    Messages:
    120
    Location:
    Austin, TX
    ROFLMAO. On the way to the New Years Eve Party the car said "Wed Dec 31". On the home it said "Tue Jan 1".

    Somewhere in Tesla Cyberland some metrics are all screwed up!
     

Share This Page