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  


Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know! Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem : 9 + 34 = ?

 
 [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