Permalink
Browse files

typo

  • Loading branch information...
1 parent cbf9a15 commit 42d46b4f77708c16c3d6d2a10448966e6fec37f8 @juzna committed Mar 8, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 app/lib/helpers.php
View
@@ -28,7 +28,7 @@ class Helpers
public static function interval($seconds, $short = false) {
$periods = array("second", "minute", "hour", "day", "week", "month", "year", "decade");
- if($short) $periods = array("s", "mi", "h", "d", "w", "month", "year", "decade");
+ if($short) $periods = array("s", "min", "h", "d", "w", "month", "year", "decade");
$lengths = array("60","60","24","7","4.35","12","10");
for($j = 0; $seconds >= $lengths[$j]; $j++)
$seconds /= $lengths[$j];

0 comments on commit 42d46b4

Please sign in to comment.