@@ -2956,7 +2956,7 @@ discard block |
||
| 2956 | 2956 | if (is_null($timestamp)) |
| 2957 | 2957 | $timestamp = time(); |
| 2958 | 2958 | |
| 2959 | - $date_equivalents = array ( |
|
| 2959 | + $date_equivalents = array( |
|
| 2960 | 2960 | '%a' => 'D', |
| 2961 | 2961 | '%A' => 'l', |
| 2962 | 2962 | '%d' => 'd', |
@@ -2965,7 +2965,7 @@ discard block |
||
| 2965 | 2965 | '%u' => 'N', |
| 2966 | 2966 | '%w' => 'w', |
| 2967 | 2967 | // Week |
| 2968 | - '%U' => '', // Week Number of the given year |
|
| 2968 | + '%U' => '', // Week Number of the given year |
|
| 2969 | 2969 | '%V' => 'W', |
| 2970 | 2970 | '%W' => '', |
| 2971 | 2971 | // Month |
@@ -3008,7 +3008,7 @@ discard block |
||
| 3008 | 3008 | |
| 3009 | 3009 | $format = preg_replace_callback( |
| 3010 | 3010 | '/%[A-Za-z]{1}/', |
| 3011 | - function($matches) use ($timestamp, $date_equivalents) |
|
| 3011 | + function ($matches) use ($timestamp, $date_equivalents) |
|
| 3012 | 3012 | { |
| 3013 | 3013 | $new_format = str_replace(array_keys($date_equivalents), array_values($date_equivalents), $matches[0]); |
| 3014 | 3014 | return date($new_format, $timestamp); |