Révision ee46a8ed
Ajouté par Assos Assos il y a plus de 7 ans
drupal7/sites/all/modules/date/tests/date_api.test | ||
---|---|---|
393 | 393 |
$input = '23 abc 2012'; |
394 | 394 |
$timezone = NULL; |
395 | 395 |
$format = 'd M Y'; |
396 |
$date = new dateObject($input, $timezone, $format); |
|
396 |
$date = @new dateObject($input, $timezone, $format);
|
|
397 | 397 |
$this->assertNotEqual(count($date->errors), 0, '23 abc 2012 should be an invalid date'); |
398 | 398 |
|
399 | 399 |
// Test Granularity. |
Formats disponibles : Unified diff
Update date 7.x-2.9 -> 7.x-2.10-rc1