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:

committed by
GitHub

parent
0ec1c8d9f0
commit
26b81d68b5
@ -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)
|
||||
|
Reference in New Issue
Block a user