https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94869
--- Comment #4 from Jonathan Wakely <redi at gcc dot gnu.org> --- std::local_time is new for GCC 10, so I would not expect the code to compile with odler versions. I would also not expect std::chrono::local_time to work with date::parse because date::parse probably only knows about date::local_t and not std::chrono::local_t.