const MYSQL = 'Y-m-d H:i:s';
const HTTP = 'D, d M Y H:i:s \G\M\T';
const JSON = 'Y-m-d\TH:i:s.v\Z';
+ const API = 'D M d H:i:s +0000 Y';
static $localTimezone = 'UTC';
try {
$d = new DateTime($s, $from_obj);
} catch (Exception $e) {
- Logger::log('DateTimeFormat::convert: exception: ' . $e->getMessage());
+ Logger::notice('DateTimeFormat::convert: exception: ' . $e->getMessage());
$d = new DateTime('now', $from_obj);
}