in reply to Perl daylight savings time issue? (nm, I'm an idiot)

Shows true here.

moo@cow[3595]~>perl -MData::Dumper -le "print [ localtime() ]->[-1]" 1

Probably your box has a setting to use/respect DST and it's not on/configured?

Replies are listed 'Best First'.
Re^2: Perl daylight savings time issue?
by cLive ;-) (Prior) on Mar 14, 2016 at 15:11 UTC
    It should be false though, because we are not under Daylight Savings Time any more.

      I'm gonna say the $isdst understanding is backwards? Last week it was zero–

      perl -MData::Dumper -le "print [ localtime(time - 60 * 60 * 24 * 7) ]- +>[-1]" 0

      Update: Google on search: Daylight Saving Time (United States) 2016 began at 2:00 AM on Sunday, March 13 and ends at 2:00 AM on Sunday, November 6

      Oh, I'm sorry. I totally misread the OP. :(