dst and broken php function

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi everyone,

I already sent this to the php list, but since it was from the dst update, I thought I'd send it here too.....

   Hi everyone,

   I was hoping a problem like this wouldn't arise, but it happened :(

After the dst updates on my fedora box, this broke, and worked fine before.. now gives me 3/10 instead of 3/11 for strtotime("last sunday").... anyone
   know why? 3/10 was saturday!



   $recent_period = strtotime('last sunday');
   echo date("Y-m-d", $recent_period);
   print_r($periods);
   $test_recent_period = array_search($recent_period, $periods);
   if ($test_recent_period == '')
     $recent_period = strtotime('last sunday', $recent_period);





   Thanks,
   Jake



Thanks,
Jake
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux