[Issue 24288] std time handling SUX

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Dec 20 23:08:43 UTC 2023


https://issues.dlang.org/show_bug.cgi?id=24288

--- Comment #2 from crazymonkyyy at gmail.com ---
im pretty sure the intended way is
```d
int min=Clock.currTime.minute;
int hour=Clock.currTime.hour;
```
but to find that you need to read docs across 3 different pages, and good luck
finding the words I was reading given that its all generated docs

and that api isn't great anyway

Its so much code, it needs someone who will delete 95% of the lines

--


More information about the Digitalmars-d-bugs mailing list