diff -u b/flickr.module b/flickr.module --- b/flickr.module +++ b/flickr.module @@ -618,7 +618,7 @@ // The date an image was taken. $taken = ''; if (isset($info['dates']['taken'])) { - // Format the date displayed on image caption. + // Format the date displayed in the image caption. $format_taken = variable_get('flickr_date_format_image_caption', 'interval'); switch ($format_taken) { case 'interval': only in patch2: unchanged: --- a/block/flickr_block.install +++ b/block/flickr_block.install @@ -659,5 +659,5 @@ function flickr_block_uninstall() { if ($field) { field_delete_field('field_flickr_geo'); } - field_purge_batch(100); + field_purge_batch(500); } only in patch2: unchanged: --- a/block/flickr_block.module +++ b/block/flickr_block.module @@ -1115,8 +1115,8 @@ function flickr_block_view($delta = '') { } if (module_exists('date') && !is_numeric($settings['date']) && !empty($settings['date'])) { $value = field_get_items('node', $node, $settings['date']); - $datefrom = $value[0]; - $dateto= $value[1]; + $datefrom = substr($value[0]['value'], 0, strrpos($value[0]['value'], ' ')); + $dateto= substr($value[0]['value2'], 0, strrpos($value[0]['value2'], ' ')); } else { $datefrom = NULL;