X-Git-Url: http://git.cyclocoop.org/%22%20.%20generer_url_ecrire%28%22articles_versions%22%2C%22id_article=%24id_article%22%29%20.%20%22?a=blobdiff_plain;f=includes%2FTimestamp.php;h=630ac5357feebcb23d05623d2ba9b1fc6f007f5f;hb=843b5d9eda840ea0f63d2c03d3ee95fbac33d75b;hp=3b7b801bd3e7de7d9ab772b6c6405035ac8d6832;hpb=fe1d13368540b6d7d919e659565243d94d6c278c;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/Timestamp.php b/includes/Timestamp.php index 3b7b801bd3..630ac5357f 100644 --- a/includes/Timestamp.php +++ b/includes/Timestamp.php @@ -54,7 +54,9 @@ class MWTimestamp { "seconds" => 1000, // 1000 milliseconds per second "minutes" => 60, // 60 seconds per minute "hours" => 60, // 60 minutes per hour - "days" => 24 // 24 hours per day + "days" => 24, // 24 hours per day + "months" => 30, // approximately 30 days per month + "years" => 12, // 12 months per year ); /**