Small code improvement to sample app dates.