For backwards compatibility reasons, the date library does not use the
new C++17 uncaught_exception signature, even if compiling under C++17.
With GCC 10, libstdc++ marks the old uncaught_exception signature as
deprecated, so this causes a compilation error.
Fortunately, date library provides a way to select which
uncaught_exception version to use, so force using the new version.
Signed-off-by: sephiroth99 <sephiroth99@gmail.com>
- Add date third party submodule.
- [Kernel] Add xclock.
- [Kernel] Reimplement RtlTimeToTimeFields using std::chrono/date/xclock.
- [Kernel] Reimplement RtlTimeFieldsToTime using std::chrono/date/xclock.
- Supersedes #1612.