Inherits Language.
Public Member Functions | |
date ($ts, $adj=false, $format=true, $tc=false) | |
timeanddate ($ts, $adj=false, $format=true, $tc=false) |
Definition at line 11 of file LanguageWa.php.
LanguageWa::date | ( | $ | ts, | |
$ | adj = false , |
|||
$ | format = true , |
|||
$ | timecorrection = false | |||
) |
$ts | Mixed: the time format which needs to be turned into a date('YmdHis') format with wfTimestamp(TS_MW,$ts) | |
$adj | Bool: whether to adjust the time output according to the user configured offset ($timecorrection) | |
$format | Mixed: true to use user's date format preference | |
$timecorrection | String: the time offset as returned by validateTimeZone() in Special:Preferences |
Reimplemented from Language.
Definition at line 17 of file LanguageWa.php.
References $n, $ts, $wgUser, Language::dateFormat(), Language::getMonthName(), and Language::userAdjust().
Referenced by timeanddate().
LanguageWa::timeanddate | ( | $ | ts, | |
$ | adj = false , |
|||
$ | format = true , |
|||
$ | timecorrection = false | |||
) |
$ts | Mixed: the time format which needs to be turned into a date('YmdHis') format with wfTimestamp(TS_MW,$ts) | |
$adj | Bool: whether to adjust the time output according to the user configured offset ($timecorrection) | |
$format | Mixed: what format to return, if it's false output the default one (default true) | |
$timecorrection | String: the time offset as returned by validateTimeZone() in Special:Preferences |
Reimplemented from Language.
Definition at line 58 of file LanguageWa.php.
References $ts, date(), Language::dateFormat(), Language::time(), and Language::userAdjust().