The timezone that my system was using was MST (JVM and my system use the same timezone). Once I changed it to UTC, the problem was gone.