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

time: update doc comments (#14359)

This commit is contained in:
David 'Epper' Marshall
2022-05-11 09:55:19 -04:00
committed by GitHub
parent 0ec1c8d9f0
commit 26b81d68b5
4 changed files with 57 additions and 58 deletions

View File

@ -57,7 +57,7 @@ pub fn parse_rfc3339(s string) ?Time {
return error_invalid_time(9)
}
// parse returns time from a date string in "YYYY-MM-DD HH:MM:SS" format.
// parse returns time from a date string in "YYYY-MM-DD HH:mm:ss" format.
pub fn parse(s string) ?Time {
if s == '' {
return error_invalid_time(0)