database hour leave changed to minutes