cleaned up getExtendedDate
cleaned up getExtendedDate


Former-commit-id: fdea4f1b3d9eb53c2e8fc199dd984fdd4bad67fc [formerly 96d546cd85dc36fbc95979f5061f882736aac922]
Former-commit-id: 051cc7dfdfdb28a95ac8bde83dafe3fd92c66aca
andrewplummer/Sugar,romancow/Sugar,romancow/Sugar,andrewplummer/Sugar