Changeset 9073 for trunk/admin/include
- Timestamp:
- Feb 3, 2011, 9:18:38 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/include/functions_metadata.php
r8728 r9073 90 90 if (in_array($pwg_key, array('date_creation', 'date_available'))) 91 91 { 92 if (preg_match('/^(\d{4}).(\d{2}).(\d{2})/', $value, $matches)) 92 if (preg_match('/^(\d{4}).(\d{2}).(\d{2}) (\d{2}).(\d{2}).(\d{2})/', $value, $matches)) 93 { 94 $exif[$pwg_key] = $matches[1].'-'.$matches[2].'-'.$matches[3].' '.$matches[4].':'.$matches[5].':'.$matches[6]; 95 } 96 elseif (preg_match('/^(\d{4}).(\d{2}).(\d{2})/', $value, $matches)) 93 97 { 94 98 $exif[$pwg_key] = $matches[1].'-'.$matches[2].'-'.$matches[3];
Note: See TracChangeset
for help on using the changeset viewer.