Remove hour from string comparison

Since the formatting defaults to the machine timezone this can lead to
false positives
Upgrade to gradle 1.12