Cleaning getExtendedDate further, and improvements to format caching
Cleaning getExtendedDate further, and improvements to format caching


Former-commit-id: 18c06cd41c3c1e99d4fef66abd7f085dcf7fa341 [formerly f43b5741d7664a8f93cbc5361d5ed1ba15017e95]
Former-commit-id: bad03e80214760a65354b3b773aea7556da471a5
andrewplummer/Sugar,romancow/Sugar,andrewplummer/Sugar,romancow/Sugar