{"shas":[["4b76798597c1f537e5c821c45174b24c8579ec95","a6a1517a087f9f64a72f41a0de57ff01fbb0e412@gmail.com","gitweb: Fix handling of fractional timezones in parse_date\n\nFractional timezones, like -0330 (NST used in Canada) or +0430\n(Afghanistan, Iran DST), were not handled properly in parse_date; this\nmeans values such as 'minute_local' and 'iso-tz' were not generated\ncorrectly.\n\nThis was caused by two mistakes:\n\n* sign of timezone was applied only to hour part of offset, and not\n  as it should be also to minutes part (this affected only negative\n  fractional timezones).\n\n* 'int $h + $m/60' is 'int($h + $m/60)' and not 'int($h) + $m/60',\n  so fractional part was discarded altogether ($h is hours, $m is\n  minutes, which is always less than 60).\n\n\nNote that positive fractional timezones +0430, +0530 and +1030 can be\nfound as authortime in git.git repository itself.\n\nFor example http://repo.or.cz/w/git.git/commit/88d50e7 had authortime\nof \"Fri, 8 Jan 2010 18:48:07 +0000 (23:48 +0530)\", which is not marked\nwith 'atnight', when \"git show 88d50e7\" gives correct author date of\n\"Sat Jan 9 00:18:07 2010 +0530\".\n\nSigned-off-by: Jakub Narebski <jnareb@gmail.com>","Jakub Narebski"]],"repo":"jnareb/git","actor":"jnareb","ref":"refs/heads/gitweb/web","size":1,"head":"4b76798597c1f537e5c821c45174b24c8579ec95","actor_gravatar":"672aa8b373071ef9f06db563d1c08d77","push_id":27517837}