fix ALL of the style issues

also enforce valid date ranges for report view, and display
dates in locale-specific format