See tidyged.internals::date_current for details.