Added SimpleWeb::Date::to_string to create HTTP date strings
This commit is contained in:
parent
3f1591b6fa
commit
83788f3885
3 changed files with 69 additions and 0 deletions
|
|
@ -323,4 +323,6 @@ int main() {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
ASSERT(SimpleWeb::Date::to_string(std::chrono::system_clock::now()).size() == 29);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue