mirror of
https://github.com/e107inc/e107.git
synced 2025-08-03 05:07:27 +02:00
Date handler am/pm code fix.
This commit is contained in:
@@ -250,8 +250,8 @@ class convert
|
|||||||
'%H' => 'hh', // 24 hour format - leading zero
|
'%H' => 'hh', // 24 hour format - leading zero
|
||||||
'%M' => 'ii', // Two digit representation of the minute
|
'%M' => 'ii', // Two digit representation of the minute
|
||||||
'%S' => 'ss', // Two digit representation of the second
|
'%S' => 'ss', // Two digit representation of the second
|
||||||
'%P' => 'p', // %P lower-case 'am' or 'pm' based on the given time
|
'%P' => 'a', // lower-case 'am' or 'pm' based on the given time
|
||||||
'%p' => 'P', // %p UPPER-CASE 'AM' or 'PM' based on the given time
|
'%p' => 'A', // UPPER-CASE 'AM' or 'PM' based on the given time
|
||||||
|
|
||||||
'%T' => 'hh:mm:ss',
|
'%T' => 'hh:mm:ss',
|
||||||
'%r' => "hh:mmm:ss TT" // 12 hour format
|
'%r' => "hh:mmm:ss TT" // 12 hour format
|
||||||
@@ -276,6 +276,7 @@ class convert
|
|||||||
|
|
||||||
// Keep this info here:
|
// Keep this info here:
|
||||||
/*
|
/*
|
||||||
|
*
|
||||||
* $options allowed keys:
|
* $options allowed keys:
|
||||||
|
|
||||||
*
|
*
|
||||||
|
Reference in New Issue
Block a user