diff options
author | Dries Buytaert <dries@buytaert.net> | 2004-02-04 21:23:07 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2004-02-04 21:23:07 +0000 |
commit | abf27dde48bfaa244c6ddc39dcf00ca9fdd72ea5 (patch) | |
tree | e48cad7d0e07ac6130913a8c482c4cdf0549853e /modules/aggregator.module | |
parent | d3d88397641f8137ad8a59e61c89c34fc1b62dc5 (diff) | |
download | brdo-abf27dde48bfaa244c6ddc39dcf00ca9fdd72ea5.tar.gz brdo-abf27dde48bfaa244c6ddc39dcf00ca9fdd72ea5.tar.bz2 |
- Fixed bug #5628: wrong timestamp in aggregator. Patch by BartJ.
Diffstat (limited to 'modules/aggregator.module')
-rw-r--r-- | modules/aggregator.module | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/aggregator.module b/modules/aggregator.module index 4d7bbe4c8..e85e0bd68 100644 --- a/modules/aggregator.module +++ b/modules/aggregator.module @@ -424,6 +424,7 @@ function aggregator_parse_feed(&$data, $feed) { else if ($item['DCTERMS:ISSUED']) $date = $item['DCTERMS:ISSUED']; // Dublin core else if ($item['DCTERMS:CREATED']) $date = $item['DCTERMS:CREATED']; // Dublin core else if ($item['DCTERMS:MODIFIED']) $date = $item['DCTERMS:MODIFIED']; // Dublin core + else $date = 'now'; $timestamp = strtotime($date); // strtotime() returns -1 on failure |