| 263 | | $cDate = strtotime($item['pubdate']); |
| | 263 | // We use the second param of strtotime here as a workaround |
| | 264 | // of a PHP bug with strtotime. If the pubdate field doesn't |
| | 265 | // contain seconds, the strtotime function will use the current |
| | 266 | // time to fill in seconds in PHP4. This interferes with the |
| | 267 | // update mechanism of gregarius. See ticket #328 for the full |
| | 268 | // gory details. Giving a known date as a second param to |
| | 269 | // strtotime fixes this problem, hence the 0 here. |
| | 270 | $cDate = strtotime($item['pubdate'], 0); |