1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00
v/vlib/time
penguindark 7d52d612ce
rand: add rand.ulid() (#5979)
* removed debug println

* added newline to the end of the file

* time: add .unix_time_milli() method; rand,time: add tests

* rand: add more ulid tests; move tests to a separate file random_identifiers_test.v

* run vfmt over vlib/rand/random_identifiers_test.v

* speed up time.unix_time_milli

* simplify and speedup time.unix_time/0 and time.new_time/1

* update comment about rand.ulid()

* fix terminating 0 off by 1 issue in rand.ulid()

* optimize time.new_time()

* restore the master version of vlib/time/parse.v

* make test_unix_time more robust

Co-authored-by: Delyan Angelov <delian66@gmail.com>
2020-07-26 13:10:56 +03:00
..
misc
format_test.v
format.v time: add .format_ss_milli and .format_ss_micro methods 2020-07-21 11:58:33 +03:00
operator_test.v
operator.v
parse_test.v
parse.v checker: warn if C.m* or C.s* functions are called outside unsafe blocks (#5869) 2020-07-20 20:06:41 +03:00
private_test.v
stopwatch_test.v
stopwatch.v
time_darwin.c.v
time_linux.c.v
time_nix.c.v
time_solaris.c.v
time_test.v rand: add rand.ulid() (#5979) 2020-07-26 13:10:56 +03:00
time_windows.c.v
time.v rand: add rand.ulid() (#5979) 2020-07-26 13:10:56 +03:00
unix.v