Document that default timestamp is current time.
authorS Page <spage@wikimedia.org>
Fri, 18 Jan 2013 22:47:25 +0000 (14:47 -0800)
committerGerrit Code Review <gerrit@wikimedia.org>
Sat, 19 Jan 2013 07:35:22 +0000 (07:35 +0000)
Change-Id: Ie255ac62a52f5d023f7cd6ffc6c0df91e7a02403

includes/GlobalFunctions.php

index 1593085..2292e31 100644 (file)
@@ -2441,7 +2441,7 @@ define( 'TS_ISO_8601_BASIC', 9 );
  * @param $outputtype Mixed: A timestamp in one of the supported formats, the
  *                    function will autodetect which format is supplied and act
  *                    accordingly.
- * @param $ts Mixed: the timestamp to convert or 0 for the current timestamp
+ * @param $ts Mixed: optional timestamp to convert, default 0 for the current time
  * @return Mixed: String / false The same date in the format specified in $outputtype or false
  */
 function wfTimestamp( $outputtype = TS_UNIX, $ts = 0 ) {