| @@ 56-61 (lines=6) @@ | ||
| 53 | $prefs = [ 'default' ]; |
|
| 54 | } |
|
| 55 | $this->output( "date: " ); |
|
| 56 | foreach ( $prefs as $index => $pref ) { |
|
| 57 | if ( $index > 0 ) { |
|
| 58 | $this->output( ' | ' ); |
|
| 59 | } |
|
| 60 | $this->output( $lang->date( $this->ts, false, $pref ) ); |
|
| 61 | } |
|
| 62 | $this->output( "\n$code time: " ); |
|
| 63 | foreach ( $prefs as $index => $pref ) { |
|
| 64 | if ( $index > 0 ) { |
|
| @@ 63-68 (lines=6) @@ | ||
| 60 | $this->output( $lang->date( $this->ts, false, $pref ) ); |
|
| 61 | } |
|
| 62 | $this->output( "\n$code time: " ); |
|
| 63 | foreach ( $prefs as $index => $pref ) { |
|
| 64 | if ( $index > 0 ) { |
|
| 65 | $this->output( ' | ' ); |
|
| 66 | } |
|
| 67 | $this->output( $lang->time( $this->ts, false, $pref ) ); |
|
| 68 | } |
|
| 69 | $this->output( "\n$code both: " ); |
|
| 70 | foreach ( $prefs as $index => $pref ) { |
|
| 71 | if ( $index > 0 ) { |
|
| @@ 70-75 (lines=6) @@ | ||
| 67 | $this->output( $lang->time( $this->ts, false, $pref ) ); |
|
| 68 | } |
|
| 69 | $this->output( "\n$code both: " ); |
|
| 70 | foreach ( $prefs as $index => $pref ) { |
|
| 71 | if ( $index > 0 ) { |
|
| 72 | $this->output( ' | ' ); |
|
| 73 | } |
|
| 74 | $this->output( $lang->timeanddate( $this->ts, false, $pref ) ); |
|
| 75 | } |
|
| 76 | $this->output( "\n\n" ); |
|
| 77 | } |
|
| 78 | } |
|