Elektrine lite

← Feed

@fleischie28@layer8.space

Post #3175824

2026-06-01 19:59 UTC

Hmm, why does zig have no built-in version of: ```c #include <stdio.h> #include <time.h> int main(void) { time_t rawtime; time(&rawtime); struct tm *timeinfo = localtime(&rawtime); fprintf(stdout, "Currently in DST: %s\n", timeinfo->tm_isdst ? "yes" : "no"); } ``` Or am I missing something specific? #c #zig

Replies (0)

No replies.