Fix setTime()

Fix setTime(), swap param sec and hour according to the source file