Page 1 of 2 12 LastLast
Results 1 to 10 of 17

Thread: Daylight Savings Changes

  1. #1
    Join Date
    Mar 2004
    Location
    Wellington, NZ
    Posts
    573

    Daylight Savings Changes

    As you're probably all aware, the daylight savings beginning/end dates change from September this year.

    "Clocks will go forward an hour a week earlier than usual - on the last Sunday in September- and back an hour on the first Sunday in April, instead of the third Sunday in March."

    Just wondering what will need to be done to ensure TiVo has the right time from September? I think it currently uses the Auckland timezone file doesn't it? And wouldn't this need to be updated?

    Cheers,
    ZollyMonsta

  2. #2
    Join Date
    Aug 2005
    Location
    Wellington
    Posts
    36
    Would the tivo automatically pick up the correct time during a phone call when it sets it's time using ntp?

  3. #3
    Join Date
    Apr 2004
    Location
    Perth, Western Australia
    Posts
    3,037
    We usually wait till freebsd puts out new zoneinfo files. There will also be further changes to West Australian TZ's this year. We will probably pickup both sets at the same time.

    OzTiVo users can update automatically.

    NZTiVo users will probably need to FTP the files across.

    Peter.
    Please search this forum and our Website for your TiVo questions before starting a new thread. Thanks!

  4. #4
    Join Date
    May 2004
    Location
    Wellington, NZ
    Posts
    477
    Quote Originally Posted by zollymonsta View Post
    As you're probably all aware, the daylight savings beginning/end dates change from September this year.

    Just wondering what will need to be done to ensure TiVo has the right time from September? I think it currently uses the Auckland timezone file doesn't it? And wouldn't this need to be updated?
    The attached file (Auckland) should be placed in /var/hack/zoneinfo/Pacific (replacing the existing file). You may also wish to schedule the following script to run via cron (I normally name the script DST_Adjust.sh and place it in /var/hack/DST/)

    Code:
    # ===========================
    # Adjust for Daylight Savings
    # ===========================
    # Daylight Time commences at 2.00am Standard Time on the last
    # Sunday in September each year.  It ends at 2.00am Standard
    # Time (3.00am Daylight Time) on the first Sunday in April of
    # the following year.
    #
    # ===============
    # Crontab Entries
    # ===============
    # Correct time for Daylight Saving
    # 0 2 *  9 0 /var/hack/DST/DST_Adjust.sh >> /var/hack/DST/log 2>&1 &
    # 0 3 *  4 0 /var/hack/DST/DST_Adjust.sh >> /var/hack/DST/log 2>&1 &
    
    
    PATH=/bin:/sbin:/tvbin:/devbin:/var/hack/bin:/var/hack/scripts
    
    StartDST() {
      time=`date -d "now +1 hour" "+%Y%m%d%H%M%S"`
      settime $time
    }
    
    StopDST() {
      time=`date -d "now -1 hour" "+%Y%m%d%H%M%S"`
      settime $time
    }
    
    date "+%w %e %b %k" |\
    while read day dom mon hour; do
      # Check if it is the last Sunday in September
      if [ $dom -ge 22 -a $day -eq 0 -a "$mon" = "Sep" -a $hour -eq 2 ]; then
        StartDST
      fi
    
      # Check if it is the first Sunday in April
      if [ $dom -le 7 -a $day -eq 0 -a "$mon" = "Apr" -a $hour -eq 3 ]; then
        StopDST
      fi
    done
    Attached Files Attached Files

  5. #5
    Join Date
    Apr 2004
    Location
    Perth, Western Australia
    Posts
    3,037
    Hi Thomson,

    I know you don't use the emulator, but your suggestion will not work for those that do.

    Time is set daily during the daily call, so the first call will wipe your hack.

    Peter.

    Edit: disregard the above, I didn't realise the attached file was the timezones files. Should work fine.
    Last edited by petestrash; 07-09-2007 at 02:36 PM.
    Please search this forum and our Website for your TiVo questions before starting a new thread. Thanks!

  6. #6
    Join Date
    Mar 2004
    Location
    Wellington, NZ
    Posts
    573
    Just re-imaging my tivo now. So this change of the zonefile will need to be made on the NZ Emulator, and the tivo would pick this up with the next daily call, correct?

    I'm hoping this re-image will be smooth importing data now after first call to the emulator. I must say its a lot easier now than it used to be for NZ users.. thanks guys

    Cheers,
    ZollyMonsta

  7. #7
    Join Date
    Apr 2004
    Location
    Perth, Western Australia
    Posts
    3,037
    No, the timezone files reside on your TiVo and will need to be manually updated before Daylight savings starts.

    Edit: use thomsons file attached above

    Peter.
    Last edited by petestrash; 07-09-2007 at 02:37 PM.
    Please search this forum and our Website for your TiVo questions before starting a new thread. Thanks!

  8. #8
    Join Date
    Aug 2004
    Location
    Wellington
    Posts
    163
    Quote Originally Posted by petestrash View Post
    Hi Thomson,

    I know you don't use the emulator, but your suggestion will not work for those that do.

    Time is set daily during the daily call, so the first call will wipe your hack.

    Peter.
    Been wondering about this for a while...

    If ThomPPPson's hack gets wiped isn't the correct time from the start of daylight savings via his hack just getting replaced with the correct time from the daily call?

    Since the daily call happens some unknown time after daylight savings starts if you just rely on the daily call and not ThomPPPson's hack (in combination) don't you then run the risk of missing recording programmes?
    Meat, beer, ... what more could a kid ask for? Of course... a TiVo! What were my parents thinking?

  9. #9
    Join Date
    Aug 2004
    Location
    Wellington
    Posts
    163
    Quote Originally Posted by petestrash View Post
    No, the timezone files reside on your TiVo and will need to be manually updated before Daylight savings starts.

    Not an issue till then though.

    Peter.
    For NZ'ers that's DST starts on 30th September - not too far away.

    What to do... ?
    Meat, beer, ... what more could a kid ask for? Of course... a TiVo! What were my parents thinking?

  10. #10
    Join Date
    Apr 2004
    Location
    Perth, Western Australia
    Posts
    3,037
    Quote Originally Posted by SeanOffShotgun View Post
    Been wondering about this for a while...

    If ThomPPPson's hack gets wiped isn't the correct time from the start of daylight savings via his hack just getting replaced with the correct time from the daily call?
    Yes, as conforms to the existing timezone rules loaded into your TiVo.

    Edit: didn't realise thomson attached the auckland tz file. using both the script and tz file together should be fine

    Quote Originally Posted by SeanOffShotgun View Post
    Since the daily call happens some unknown time after daylight savings starts if you just rely on the daily call and not ThomPPPson's hack (in combination) don't you then run the risk of missing recording programmes?
    Yes, we get around this with the following crontab entry on all OzTiVo's:
    5 2 * * 0 /hack/bin/fixtivotime
    5 3 * * 0 /hack/bin/fixtivotime

    Peter.
    Last edited by petestrash; 07-09-2007 at 02:39 PM.
    Please search this forum and our Website for your TiVo questions before starting a new thread. Thanks!

Similar Threads

  1. Emulator not updated for daylight savings?
    By chis in forum New Zealand TV Guide Issues
    Replies: 4
    Last Post: 30-09-2010, 08:58 AM
  2. Daylight savings time change
    By Lurker in forum New Zealand TV Guide Issues
    Replies: 25
    Last Post: 29-09-2009, 04:56 PM
  3. tivo and daylight savings
    By dcielak in forum Question and Answer Forum
    Replies: 1
    Last Post: 11-11-2007, 04:25 AM
  4. Daylight Savings reminder
    By thomson in forum New Zealand General Forum
    Replies: 7
    Last Post: 10-03-2005, 12:55 PM
  5. Yet another daylight savings post
    By MossNd in forum Question and Answer Forum
    Replies: 3
    Last Post: 01-11-2004, 10:04 AM

Bookmarks

Posting Permissions

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