mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
parser: fix a bug with complex ref fn args
This commit is contained in:
@ -110,7 +110,6 @@ pub fn now() Time {
|
||||
pub fn random() Time {
|
||||
now_unix := now().uni
|
||||
rand_unix := rand.next(now_unix)
|
||||
|
||||
return time.unix(rand_unix)
|
||||
}
|
||||
|
||||
@ -275,7 +274,7 @@ pub fn (t Time) ddmmy() string {
|
||||
// @return string
|
||||
// @example Jul 3
|
||||
pub fn (t Time) md() string {
|
||||
return t.get_fmt_date_str(.space, .mmmd)
|
||||
return t.get_fmt_date_str(.space, .mmmd)
|
||||
}
|
||||
|
||||
pub fn (t Time) clean() string {
|
||||
|
Reference in New Issue
Block a user