X-Debbugs-CC: Karel Zak<[email protected]>
> ```
> $ date -u; ./uuid_gen
> Di 3. Feb 13:00:08 UTC 2026
> Time-based UUID: 80a1a41a-00ef-11f1-8000-2cf05d047039
> Timestamp (seconds since epoch): 1770116408
> Timestamp (with microseconds): 1770116408.045673
> Human-readable time (UTC): 2026-02-03 11:00:08 UTC
> ```
This problem was introduced with commit 3cfba7d39b66 ("libuuid:
Implement continuous clock handling for time based UUIDs"). You can
find the two hour shift also in the code:
```
- while ((c = getopt_long(argc, argv, "p:s:T:krtn:PFSdqVh",
longopts, NULL)) != -1) {
+ while ((c = getopt_long(argc, argv, "p:s:T:krtn:PFSC::dqVh",
longopts, NULL)) != -1) {
err_exclusive_options(c, longopts, excl, excl_st);
switch (c) {
+ case 'C':
+ if (optarg != NULL)
+ uuidd_cxt->cont_clock_offset = parse_cont_clock(optarg);
+ else
+ uuidd_cxt->cont_clock_offset = 7200; /* default 2h */
+ break;
case 'd':
uuidd_cxt->debug = 1;
break;
```