Ignore:
Timestamp:
Sep 27, 2013, 11:05:22 AM (11 years ago)
Author:
mistic100
Message:

fix datetime format

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/flickr2piwigo/include/ws_functions.inc.php

    r17476 r24660  
    109109    $updates = array();
    110110    if (in_array('fill_name', $photo['fills']))   $updates['name'] = $photo['title'];
    111     if (in_array('fill_posted', $photo['fills'])) $updates['date_available'] = date('Y-d-m H:i:s', $photo['dates']['posted']);
     111    if (in_array('fill_posted', $photo['fills'])) $updates['date_available'] = date('Y-m-d H:i:s', $photo['dates']['posted']);
    112112    if (in_array('fill_taken', $photo['fills']))  $updates['date_creation'] = $photo['dates']['taken'];
    113113    if (in_array('fill_author', $photo['fills'])) $updates['author'] = $photo['owner']['username'];
Note: See TracChangeset for help on using the changeset viewer.