Weird Date behavior



  • If I run the "date" command on pfSense, I get the correct date.  But when I look at my DHCP leases, I see start times 6 hours in the future.  I'm also seeing inconsistent dates in the log files.  Some are the correct time, others are showing tomorrow.

    Any idea what could be causing this?  And how to fix it?

    Thanks.


  • Rebel Alliance Developer Netgate

    An incorrectly set timezone would cause that (especially if you were in a time zone that is 6 hours behind UTC/GMT). Choose your timezone again but use a geographically named zone, not a GMT+/- zone.



  • @jimp:

    An incorrectly set timezone would cause that (especially if you were in a time zone that is 6 hours behind UTC/GMT). Choose your timezone again but use a geographically named zone, not a GMT+/- zone.

    I do have a geographically named zone.  It was originally set to a GMT+/- zone, but I changed that a while back.


  • Rebel Alliance Developer Netgate

    Have you rebooted since that change? Some processes will only pick up a TZ change after a reboot.



  • @jimp:

    Have you rebooted since that change? Some processes will only pick up a TZ change after a reboot.

    Hmm.  Probably not.  I'll give that a shot.


Log in to reply