Fix bug in datelooper for day