fixed grade parsing

This commit is contained in:
2025-12-18 20:47:15 -06:00
parent 34122a808b
commit 3f0e24fbd9

View File

@@ -69,7 +69,7 @@ uint16_t parse_date_to_clickhouse(const std::string& date_str) {
// Try to parse YYYY-MM-DD format
std::tm tm = {};
std::istringstream ss(date_str);
ss >> std::get_time(&tm, "%m/%d/$Y");
ss >> std::get_time(&tm, "%m/%d/%Y");
if (ss.fail()) {
spdlog::warn("Failed to parse date: {}, using epoch", date_str);