Added min to activity badge and corrected the end time of a day with day length greater than 24 hours