Date::format('%I') adds an hour
| From: | Alan Knowles | Date: | Fri, 07 Jun 2002 04:47:33 +0000 |
| Subject: | Date::format('%I') adds an hour | ||
| Groups: | php.pear.dev | ||
| Request: | Send a blank email to pear-dev+get-6772@lists.php.net to get a copy of this message | ||
are you sure this is correct - it adds an hour to all my times...
case "I":
$output .= sprintf("%02d", ($this->hour + 1) > 12 ? $this->hour + 1 - 12 : $this->hour + 1);
break;
regards
alan