UTC was not used correctly for some operations. A more precise review is necessary for the methods that deal with dates.