fixed bug in whole-day-string creation