Allow manual formatting of dates. See #308