I simple want to parse a time-string to a chrono::system_clock::time_point using:
#include <iosfwd>
#include "date/date.h"
std::stringstream ssTime;
ssTime << "17:34:05";
std::chrono::system_clock::time_point tp_time;
ssTime >> date::parse("%H:%M:%S", tp_time);
I expected to get the time_point of the specified time after EPOCH, but instead I get 0 (i.e. EPOCH).
Note, that I'm using the date library of Howard Hinnant .