| 1 | <?php |
||
| 13 | class DateTimeFormatter extends ZfDateTimeFormatter |
||
| 14 | { |
||
| 15 | |||
| 16 | /** |
||
| 17 | * Filter a datetime string by normalizing it to the filters specified format |
||
| 18 | * |
||
| 19 | * @param string $value |
||
| 20 | * @return string |
||
| 21 | */ |
||
| 22 | public function filter($value) |
||
| 34 | |||
| 35 | /** |
||
| 36 | * Return a DateTime object |
||
| 37 | * |
||
| 38 | * @param string|int|DateTime $value |
||
| 39 | * @return string |
||
| 40 | */ |
||
| 41 | protected function normalizeDateTime($value) |
||
| 53 | } |
||
| 54 |