Added SimpleWeb::Date::to_string to create HTTP date strings

This commit is contained in:
eidheim 2019-07-31 15:23:50 +02:00
commit 83788f3885
3 changed files with 69 additions and 0 deletions

View file

@ -323,4 +323,6 @@ int main() {
}
}
}
ASSERT(SimpleWeb::Date::to_string(std::chrono::system_clock::now()).size() == 29);
}