]> git.andy128k.dev Git - ipf.git/commitdiff
fix format bit mask
authorAndrey Kutejko <andy128k@gmail.com>
Sun, 11 Aug 2013 11:47:52 +0000 (14:47 +0300)
committerAndrey Kutejko <andy128k@gmail.com>
Sun, 11 Aug 2013 11:47:52 +0000 (14:47 +0300)
ipf/format.php

index 1d2bbcdcf6e10a9f99775778e0fb7f7f39dcd821..0a7b29fc34807eb6813a88828380d3f9870b85b0 100644 (file)
@@ -143,7 +143,7 @@ final class IPF_Format
 
     public static function makeTimeFormat($flags, $controls)
     {
-        if (!($flags & 102)) // no time flags
+        if (!($flags & 112)) // no time flags
             return '';
 
         $seconds = $flags & self::TIME_SECONDS;