* @param bool $tc
* @return string
*/
- function date( $ts, $adj = false, $format = true, $tc = false ) {
+ public function date( $ts, $adj = false, $format = true, $tc = false ) {
$ts = wfTimestamp( TS_MW, $ts );
if ( $adj ) {
$ts = $this->userAdjust( $ts, $tc );
* @param bool $tc
* @return string
*/
- function timeanddate( $ts, $adj = false, $format = true, $tc = false ) {
+ public function timeanddate( $ts, $adj = false, $format = true, $tc = false ) {
if ( $adj ) {
$ts = $this->userAdjust( $ts, $tc );
}