From: Andrey Kutejko Date: Sun, 11 Aug 2013 11:47:52 +0000 (+0300) Subject: fix format bit mask X-Git-Tag: 0.5~66 X-Git-Url: https://git.andy128k.dev/?a=commitdiff_plain;h=f058f78622f87c6fbcd01eef831633b58eea89f2;p=ipf.git fix format bit mask --- diff --git a/ipf/format.php b/ipf/format.php index 1d2bbcd..0a7b29f 100644 --- a/ipf/format.php +++ b/ipf/format.php @@ -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;