| @@ 149-154 (lines=6) @@ | ||
| 146 | if (isset($tag)) { |
|
| 147 | $tag = (int)$tag; |
|
| 148 | } |
|
| 149 | if (isset($from)) { |
|
| 150 | $from = urldecode($from); |
|
| 151 | $parser = DBDatetime::create(); |
|
| 152 | $parser->setValue($from); |
|
| 153 | $from = $parser->Format('y-MM-dd'); |
|
| 154 | } |
|
| 155 | if (isset($to)) { |
|
| 156 | $to = urldecode($to); |
|
| 157 | $parser = DBDatetime::create(); |
|
| @@ 155-160 (lines=6) @@ | ||
| 152 | $parser->setValue($from); |
|
| 153 | $from = $parser->Format('y-MM-dd'); |
|
| 154 | } |
|
| 155 | if (isset($to)) { |
|
| 156 | $to = urldecode($to); |
|
| 157 | $parser = DBDatetime::create(); |
|
| 158 | $parser->setValue($to); |
|
| 159 | $to = $parser->Format('y-MM-dd'); |
|
| 160 | } |
|
| 161 | if (isset($year)) { |
|
| 162 | $year = (int)$year; |
|
| 163 | } |
|