Skip to content

Commit 37cfdda

Browse files
denizzzkakubo39
authored andcommitted
Update std/uuid.d: currTime(UTC) added to simplify calculations
Co-authored-by: Hiroki Noda <[email protected]>
1 parent 4dadb7c commit 37cfdda

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

std/uuid.d

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1420,7 +1420,7 @@ class MonotonicUUIDsFactory
14201420
///
14211421
this(in SysTime startTime = SysTime.fromUnixTime(0)) shared
14221422
{
1423-
this(Clock.currTime - startTime);
1423+
this(Clock.currTime(UTC()) - startTime);
14241424
}
14251425

14261426
///

0 commit comments

Comments
 (0)