File

core/includes/date.class.inc, line 30

Class

BackdropDateTime
Extends PHP DateTime class for use with Backdrop.

Code

protected static $allgranularity = array(
  'year',
  'month',
  'day',
  'hour',
  'minute',
  'second',
  'timezone'
);