Consolidate info about date formatting.
More structured return type.
tweaking example.