Using boost parse datetime string: With single digit hour format
I’ll leave it to you to sort out how you want dates without years to be interpreted. However, here’s a quick start using /just/ strptime. I used it in a larger codebase, and we needed some pretty versatile date recognition. Behold: the adaptive datetime parser: #pragma once #include <string> #include <chrono> #include <cstdint> #include <list> … Read more