# 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 ``` ();'> Unnamed repository; edit this file 'description' to name the repository.
aboutsummaryrefslogtreecommitdiff
path: root/src/bun.js/builtins/cpp/WritableStreamDefaultWriterBuiltins.h (unfollow)
AgeCommit message (Collapse)AuthorFilesLines
2022-12-17Delete Oniguruma (#1625)Gravatar Jarred Sumner 1-1/+0
* Update .gitmodules * Delete oniguruma * Delete Oniguruma * Make this test less flaky * :scissors: Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
2022-12-17Missing from commitGravatar Jarred Sumner 1-23/+22
2022-12-17Fixes https://github.com/oven-sh/bun/issues/1624Gravatar Jarred Sumner 1-41/+1
This was disabled anyway
2022-12-17Regenerate builtinsGravatar Jarred Sumner 1-7/+2
2022-12-17Update transpiler.test.jsGravatar Jarred Sumner 1-17/+24
2022-12-17Update WebKitGravatar Jarred Sumner 6-28/+28