Fixing the date legend