Changeset 24661


Ignore:
Timestamp:
Sep 27, 2013, 11:06:17 AM (7 years ago)
Author:
mistic100
Message:

fix datetime format

Location:
extensions/pbase2piwigo
Files:
2 edited

Legend:

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

    r17434 r24661  
    217217      $updates = array();
    218218      if (in_array('fill_name', $params['fills']))    $updates['name'] = pwg_db_real_escape_string($photo['title']);
    219       if (in_array('fill_posted', $params['fills']))  $updates['date_available'] = date('Y-d-m H:i:s', strtotime($photo['date']));
    220       if (in_array('fill_taken', $params['fills']))   $updates['date_creation'] = date('Y-d-m H:i:s', strtotime($photo['date']));
     219      if (in_array('fill_posted', $params['fills']))  $updates['date_available'] = date('Y-m-d H:i:s', strtotime($photo['date']));
     220      if (in_array('fill_taken', $params['fills']))   $updates['date_creation'] = date('Y-m-d H:i:s', strtotime($photo['date']));
    221221      if (in_array('fill_author', $params['fills']))  $updates['author'] = pwg_db_real_escape_string($photo['author']);
    222222      if (in_array('fill_comment', $params['fills'])) $updates['comment'] = pwg_db_real_escape_string($photo['description']);
  • extensions/pbase2piwigo/main.inc.php

    r19832 r24661  
    44Version: auto
    55Description: Import photos from PBase
    6 Plugin URI: http://piwigo.org/ext/extension_view.php?eid=627
     6Plugin URI: auto
    77Author: Mistic
    88Author URI: http://www.strangeplanet.fr
Note: See TracChangeset for help on using the changeset viewer.