|
@@ 54-57 (lines=4) @@
|
| 51 |
|
|
| 52 |
|
# ISO (YYYY-mm-dd) format |
| 53 |
|
# we also output this format for YMD (eg: 2001 January 15) |
| 54 |
|
if ( $datePreference == 'ISO 8601' ) { |
| 55 |
|
$d = substr( $ts, 0, 4 ) . '-' . substr( $ts, 4, 2 ) . '-' . substr( $ts, 6, 2 ); |
| 56 |
|
return $d; |
| 57 |
|
} |
| 58 |
|
|
| 59 |
|
# dd/mm/YYYY format |
| 60 |
|
if ( $datePreference == 'walloon short' ) { |
|
@@ 60-63 (lines=4) @@
|
| 57 |
|
} |
| 58 |
|
|
| 59 |
|
# dd/mm/YYYY format |
| 60 |
|
if ( $datePreference == 'walloon short' ) { |
| 61 |
|
$d = substr( $ts, 6, 2 ) . '/' . substr( $ts, 4, 2 ) . '/' . substr( $ts, 0, 4 ); |
| 62 |
|
return $d; |
| 63 |
|
} |
| 64 |
|
|
| 65 |
|
# Walloon format |
| 66 |
|
# we output this in all other cases |