45 public function date( $ts, $adj =
false, $format =
true, $tc =
false ) {
50 $datePreference = $this->
dateFormat( $format );
52 # ISO (YYYY-mm-dd) format
53 # we also output this format for YMD (eg: 2001 January 15)
54 if ( $datePreference ==
'ISO 8601' ) {
60 if ( $datePreference ==
'walloon short' ) {
66 # we output this in all other cases
72 }
elseif ( $n == 2 || $n == 3 || $n == 20 || $n == 22 || $n == 23 ) {
75 }
elseif ( $m == 4 || $m == 8 || $m == 10 ) {
92 public function timeanddate( $ts, $adj =
false, $format =
true, $tc =
false ) {
96 $datePreference = $this->
dateFormat( $format );
97 if ( $datePreference ==
'ISO 8601' ) {
98 return parent::timeanddate( $ts, $adj, $format, $tc );
100 return $this->
date( $ts, $adj, $format, $tc ) .
' a ' .
101 $this->
time( $ts, $adj, $format, $tc );
and that you know you can do these things To protect your we need to make restrictions that forbid anyone to deny you these rights or to ask you to surrender the rights These restrictions translate to certain responsibilities for you if you distribute copies of the or if you modify it For if you distribute copies of such a whether gratis or for a you must give the recipients all the rights that you have You must make sure that receive or can get the source code And you must show them these terms so they know their rights We protect your rights with two and(2) offer you this license which gives you legal permission to copy
wfTimestamp( $outputtype=TS_UNIX, $ts=0)
Get a timestamp string in one of various formats.
timeanddate( $ts, $adj=false, $format=true, $tc=false)
date( $ts, $adj=false, $format=true, $tc=false)
Dates in Walloon are "1î d' <monthname>" for 1st of the month, "<day> di <monthname>" for months star...
Internationalisation code.
userAdjust( $ts, $tz=false)
Used by date() and time() to adjust the time output.
dateFormat( $usePrefs=true)
This is meant to be used by time(), date(), and timeanddate() to get the date preference they're supp...
time( $ts, $adj=false, $format=true, $timecorrection=false)