Lines Matching refs:to

25         '%d' => 'd', // Two-digit day of the month (with leading zeros)    01 to 31
26 '%e' => 'j', // Day of the month, with a space preceding single digits. Not implemented as described on Windows. See below for more information. 1 to 31
27 '%j' => '', // NOT SUPPORTED Day of the year, 3 digits with leading zeros 001 to 366
40 '%C' => '', // NOT SUPPORTED Two digit representation of the century (year divided by 100, truncated to an integer) 19 for the 20th Century
74 'd' => '%d', // Day of the month, 2 digits with leading zeros 01 to 31
76 'j' => '%e', // Day of the month without leading zeros 1 to 31
92 'o' => '%g', // ISO-8601 week-numbering year. This has the same value as Y, except that if the ISO week number (W) belongs to the previous or next year, that year is used instead. (added in PHP 5.1.0) Examples: 1999or 2003
103 'i' => '%M', // Minutes with leading zeros 00 to 59
109 'O' => '%z', // Difference to Greenwich time (GMT) in hours Example: +0200
110 'P' => '%z', // Difference to Greenwich time (GMT) with colon between hours and minutes (added in PHP 5.1.3) Example: +02:00
120 * Convert a strftime format string to a date format string
129 /* All characters that are not strftime placeholders need to be escaped */
132 // create negative lookbehind regex to match all known date chars that are not a strtime pattern now
137 // those need to be escaped
138 $to = array_map(
143 $date = preg_replace($from, $to, $date);
146 /* strftime to date conversion */
159 * Convert a date format string to a strftime format string
166 /* date to strftime conversion */
168 // create negative lookbehind regex to match all unescaped known chars
174 $to = array_values(self::$date);
178 array_unshift($to, '%%');
181 $strftime = preg_replace($from, $to, $date);