Subversion Repositories eFlore/Applications.cel

Compare Revisions

Ignore whitespace Rev 2014 → Rev 2015

/trunk/jrest/services/ImageRDF.php
84,6 → 84,8
if ($picture['date_observation'] != '0000-00-00 00:00:00') {
$yearMonthDay = explode('-',$picture['date_observation']);
$year = $yearMonthDay[0];
$month = 0;
$day = 0;
if (count($yearMonthDay) > 1) {
$month = $yearMonthDay[1];
}