Changeset 19834


Ignore:
Timestamp:
Jan 5, 2013, 2:17:33 PM (11 years ago)
Author:
mistic100
Message:

good datetime format

File:
1 edited

Legend:

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

    r18126 r19834  
    128128    $updates = array();
    129129    if (in_array('fill_name', $params['fills']))        $updates['name'] = pwg_db_real_escape_string($photo['title']);
    130     if (in_array('fill_taken', $params['fills']))       $updates['date_creation'] = date('Y-d-m H:i:s', $photo['timestamp']);
     130    if (in_array('fill_taken', $params['fills']))       $updates['date_creation'] = date('Y-m-d H:i:s', $photo['timestamp']);
    131131    if (in_array('fill_author', $params['fills']))      $updates['author'] = pwg_db_real_escape_string($photo['author']);
    132132    if (in_array('fill_description', $params['fills'])) $updates['comment'] = pwg_db_real_escape_string($photo['description']);
Note: See TracChangeset for help on using the changeset viewer.