Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.5.0a4

Bug #14929 Timezone summertime
Submitted: 2008-10-31 09:10 UTC
From: manolico Assigned: manolico
Status: Closed Package: Date (version 1.5.0a1)
PHP Version: 5.1.0 OS:
Roadmaps: (Not assigned)    
Subscription  


 [2008-10-31 09:10 UTC] manolico (Manu Manu)
Description: ------------ If summer time startmonth is greater than endmonth, inDaylightTime and inDaylightTimeStandard conditions are not working if (($this->on_summertimestartmonth < $this->on_summertimeendmonth && $hn_month >= $this->on_summertimestartmonth && $hn_month <= $this->on_summertimeendmonth) || ($this->on_summertimestartmonth > $this->on_summertimeendmonth && $hn_month >= $this->on_summertimestartmonth && $hn_month <= $this->on_summertimeendmonth) ) { It should be if (($this->on_summertimestartmonth < $this->on_summertimeendmonth && $hn_month >= $this->on_summertimestartmonth && $hn_month <= $this->on_summertimeendmonth) || ($this->on_summertimestartmonth > $this->on_summertimeendmonth && $hn_month *****<=***** $this->on_summertimestartmonth && $hn_month *****>=***** $this->on_summertimeendmonth) ) {

Comments