date.php 943 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. <?php
  2. /**
  3. * Part of the Fuel framework.
  4. *
  5. * @package Fuel
  6. * @version 1.5
  7. * @author Fuel Development Team
  8. * @license MIT License
  9. * @copyright 2010 - 2013 Fuel Development Team
  10. * @link http://fuelphp.com
  11. */
  12. /**
  13. * NOTICE:
  14. *
  15. * If you need to make modifications to the default configuration, copy
  16. * this file to your app/config folder, and make them in there.
  17. *
  18. * This will allow you to upgrade fuel without losing your custom config.
  19. */
  20. return array(
  21. /**
  22. * A couple of named patterns that are often used
  23. */
  24. 'patterns' => array(
  25. 'local' => '%c',
  26. 'mysql' => '%Y-%m-%d %H:%M:%S',
  27. 'mysql_date' => '%Y-%m-%d',
  28. 'us' => '%m/%d/%Y',
  29. 'us_short' => '%m/%d',
  30. 'us_named' => '%B %d %Y',
  31. 'us_full' => '%I:%M %p, %B %d %Y',
  32. 'eu' => '%d/%m/%Y',
  33. 'eu_short' => '%d/%m',
  34. 'eu_named' => '%d %B %Y',
  35. 'eu_full' => '%H:%M, %d %B %Y',
  36. '24h' => '%H:%M',
  37. '12h' => '%I:%M %p'
  38. )
  39. );