Changeset 743 for trunk/lib/App.inc.php
- Timestamp:
- Apr 23, 2021 11:00:26 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/App.inc.php
r742 r743 115 115 116 116 // Human-readable format used to display dates. 117 'date_format' => 'd M Y', 118 'time_format' => 'h:i A', 119 'lc_date_format' => '% e%b %Y', // Localized date for strftime() https://www.php.net/manual/en/function.strftime.php117 'date_format' => 'd M Y', // Format accepted by DateTimeInterface::format() https://www.php.net/manual/en/datetime.format.php 118 'time_format' => 'h:i A', // Format accepted by DateTimeInterface::format() https://www.php.net/manual/en/datetime.format.php 119 'lc_date_format' => '%d %b %Y', // Localized date for strftime() https://www.php.net/manual/en/function.strftime.php 120 120 'lc_time_format' => '%k:%M', // Localized time for strftime() https://www.php.net/manual/en/function.strftime.php 121 121 'sql_date_format' => '%e %b %Y', … … 1880 1880 1881 1881 try { 1882 // Create a DateTime object and conver the timezone from server to user.1882 // Create a DateTime object and convert the timezone from server to user. 1883 1883 $dt = $this->convertTZ($datetime, $this->getParam('php_timezone'), $this->getParam('user_timezone')); 1884 1884 } catch (Exception $e) {
Note: See TracChangeset
for help on using the changeset viewer.