Skip to content

issues Search Results · repo:frmdstryr/zig-datetime language:Zig

Filter by

8 results
 (46 ms)

8 results

infrmdstryr/zig-datetime (press backspace or delete to remove)

Hi I d like to use your library in another static library But did not find any clear example how to link external zig library Do you have example of build.zig and build.zig.zon for my case? Link to repo ...
  • g41797
  • Opened 
    on Aug 20, 2024
  • #32

code example: const now = datetime.Datetime.fromSeconds(1686183930); const future = datetime.Datetime.fromSeconds(1686268800); const delta = future.sub(now); std.debug.print( future = ...
  • Hanaasagi
  • 1
  • Opened 
    on Jun 8, 2023
  • #20

Afaiu, YYYY-MM-DDThh:mm:ss:msZ is the standard human readable encoding of ZULU (UTC) ie for logs. I m not entirely sure what the cap for sub-second accuracy is. Would be also nice to know the planned ...
  • matu3ba
  • Opened 
    on Mar 8, 2023
  • #18

Member fns of Datetime take pointer type as self but do no mutation. This forces all instances to be declared var and does not allow const Datetime s. These fns should just take a value type, there s ...
  • hazeycode
  • 4
  • Opened 
    on Jan 26, 2022
  • #10

Pretty self-explanatory, I think. The name would probably be weekOfYear or something
  • Hejsil
  • 2
  • Opened 
    on Aug 12, 2021
  • #8

Comparisons currently don t work if the shift moves from one date to another.
  • frmdstryr
  • Opened 
    on Dec 19, 2020
  • #5

I use this library to provide datetime for my own statusbar. I basically have a loop that checks the datetime every second. Around midnight, I had this crash: std/debug.zig:225:14: 0x213b3b in std.debug.assert ...
  • Hejsil
  • 2
  • Opened 
    on Dec 18, 2020
  • #3

Broke by https://github.com/ziglang/zig/commit/53d011fa1a7bfb2389e3677e1f6fcbe7a678e05f
  • frmdstryr
  • 1
  • Opened 
    on Jun 11, 2020
  • #1
Issue origami icon

Learn how you can use GitHub Issues to plan and track your work.

Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub Issues
ProTip! 
Press the
/
key to activate the search input again and adjust your query.
Issue origami icon

Learn how you can use GitHub Issues to plan and track your work.

Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub Issues
ProTip! 
Press the
/
key to activate the search input again and adjust your query.
Issue search results · GitHub