-
Notifications
You must be signed in to change notification settings - Fork 4
This class wraps the PHP DateTime class with more flexible initialization parameters, allowing a date to be created from an existing date object, a timestamp, a string with an unknown format, a string with a known format, or an array of date parts. It also adds an errors array and a __toString() method to the date object.
License
drupal/core-datetime
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
The Drupal Datetime Component Thanks for using this Drupal component. You can participate in its development on Drupal.org, through our issue system: https://www.drupal.org/project/issues/drupal You can get the full Drupal repo here: https://www.drupal.org/project/drupal/git-instructions You can browse the full Drupal repo here: https://git.drupalcode.org/project/drupal
About
This class wraps the PHP DateTime class with more flexible initialization parameters, allowing a date to be created from an existing date object, a timestamp, a string with an unknown format, a string with a known format, or an array of date parts. It also adds an errors array and a __toString() method to the date object.
Resources
License
Stars
Watchers
Forks
Packages 0
No packages published