vendor/libgit2/src/signature.c in rugged-0.25.0b10 vs vendor/libgit2/src/signature.c in rugged-0.25.0
- old
+ new
@@ -249,10 +249,10 @@
/*
* only store timezone if it's not overflowing;
* see http://www.worldtimezone.com/faq.html
*/
- if (hours < 14 && mins < 59) {
+ if (hours <= 14 && mins <= 59) {
sig->when.offset = (hours * 60) + mins;
if (tz_start[0] == '-')
sig->when.offset = -sig->when.offset;
}
}