mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
time: turn Time.unix to i64, so it can represent times before 1970-01-01, fix time operators, add more tests (#11050)
This commit is contained in:
@ -37,7 +37,7 @@ fn test_ulids_max_start_character_is_ok() {
|
||||
}
|
||||
|
||||
fn test_ulids_generated_in_the_same_millisecond_have_the_same_prefix() {
|
||||
t := time.utc().unix_time_milli()
|
||||
t := u64(time.utc().unix_time_milli())
|
||||
mut ulid1 := ''
|
||||
mut ulid2 := ''
|
||||
mut ulid3 := ''
|
||||
|
Reference in New Issue
Block a user