| | |
| | | timestamp = find_arg(str, "timestamp", false, true); |
| | | std::stringstream expiryStream( |
| | | str.substr(expiry.first, expiry.second - expiry.first)); |
| | | std::chrono::nanoseconds exp_time; |
| | | expiryStream >> |
| | | date::parse("%Y-%m-%f %H:%M%z", exp_time); // Parsing is broken |
| | | std::chrono::nanoseconds exp_time(0); |
| | | // expiryStream >> |
| | | // date::parse("%Y-%m-%f %H:%M%z", exp_time); // Parsing is broken |
| | | return new AnnounceMessage( |
| | | mapTypes[str.substr(type.first, type.second - type.first)], |
| | | str.substr(product.first, product.second - product.first), |