# Zig Datetime [![Build Status](https://travis-ci.org/frmdstryr/zig-datetime.svg?branch=master)](https://travis-ci.org/frmdstryr/zig-datetime) [![codecov](https://codecov.io/gh/frmdstryr/zig-datetime/branch/master/graph/badge.svg)](https://codecov.io/gh/frmdstryr/zig-datetime) A datetime module for Zig with an api similar to python's Arrow. > NOTE: This does not implement DST. ```zig const allocator = std.heap.page_allocator; const date = try Date.create(2019, 12, 25); const next_year = date.shiftDays(7); assert(next_year.year == 2020); assert(next_year.month == 1); assert(next_year.day == 1); // In UTC const now = Datetime.now(); const now_str = try now.formatHttp(allocator); defer allocator.free(now_str); std.debug.warn("The time is now: {}\n", .{now_str}); // The time is now: Fri, 20 Dec 2019 22:03:02 UTC ``` dump'>bun-crash-dump Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/src/deps/picohttpparser (unfollow)
AgeCommit message (Expand)AuthorFilesLines
2021-10-13[fetch] Slight perf improvementGravatar Jarred Sumner 1-0/+4
2021-10-13`--turbo` mode for fetch cli, which disables sending TLS shutdownGravatar Jarred Sumner 2-2/+5
2021-10-13[fetch] Support Transfer-Encoding: chunkedGravatar Jarred Sumner 5-39/+135
2021-10-13Update build.zigGravatar Jarred Sumner 1-2/+3
2021-10-13Clean up examples a littleGravatar Jarred Sumner 42-102/+7
2021-10-13Add TLS 1.3 support, improve fetch() HTTPS performanceGravatar Jarred Sumner 16-287/+751