       * @return  bool
       */
      public function isBefore($date) {
-@@ -400,7 +387,7 @@
+@@ -400,7 +396,7 @@
      /**
       * Checks whether this date is after a given date
       *

           case '\\': if ($i++ >= $s) break;
           default: $return.= $format{$i}; break;
         }
@@ -578,25 +576,31 @@
      * @return  string the formatted date
      */
     public function format($format= '%c') {

           case 'F': $return.= $this->month; break;
           case 'g': $return.= $this->hours == 0 ? 12 : ($this->hours > 12 ? $this->hours - 12 : $this->hours); break;
           case 'G': $return.= $this->hours; break;
@@ -536,33 +533,43 @@
           case 'l': $return.= $this->weekday; break;
           case 'L': $return.= (int)$this->leap; break;
           case 'm': $return.= sprintf('%02d', $this->mon); break;
