1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

vweb: add cookies with expire date

This commit is contained in:
Louis Schmieder
2020-06-29 21:14:36 +02:00
committed by GitHub
parent 7565fe595b
commit 616b07204d
3 changed files with 16 additions and 0 deletions

View File

@ -82,3 +82,7 @@ fn test_get_fmt_str() {
// combinations.
assert '11.07.1980 21:23:42' == time_to_test.get_fmt_str(.dot, .hhmmss24, .ddmmyyyy)
}
fn test_utc_string() {
assert 'Fri, 11 Jul 1980 21:23:42 UTC' == time_to_test.utc_string()
}