BurntSushi

bttf

A command line tool for datetime arithmetic, parsing, formatting and more.

by BurntSushi

Rust

Rust99.9%
Shell0.1%

Commit activity

Last 12 weeks · 0 commits

Full graph →

Community health

2 of 6 standards met

Community profile →
42
✓README✓License○Contributing○Code of Conduct○Issue Template○PR Template

Recent PRs & issues

Quiet · 1 in progress · Last activity 3mo ago
See all on GitHub →
jbrains

The documentation claims that enables locale support, but that did not happen for me today when I installed it. No mention of locale support. When I downloaded the release binary...

jbrains · 1mo ago
lunrenyi

Add as an installation method for bttf. allows users to install bttf by downloading its pre-built binary directly from the project's GitHub Releases:

lunrenyi · 2mo ago
mrjeffsmith

Package: bttf (formula) brew-browser version: 0.7.1 Homebrew version:** 6.0.12-68-gbf936d6 The docs say that without locale support, localization won’t work. In the US, NY, when I type ‘bttf’ alone, I get “2026 M07 21, Tue 19:44:53”. Even "BTTF_LOCALE=en-US bttf” still yields “2026 M07 21, Tue 19:45:18”. So I uninstalled it. Woudl love to use it, but not going to locally recompile it or anything.

mrjeffsmith · 3mo ago
athallajovian9-cyber

The flexible datetime parser accepts a subset of ISO 8601 calendar dates (, compact , etc.), but not ISO 8601 week dates or ordinal dates — even though can emit both: So a value bttf itself produced can't round-trip through the flexible path (e.g. piping output back into any datetime-taking command). Explicit / does handle them, so this is only about the flexible auto-parse. Notes from digging around: Week dates are unambiguous even at year boundaries: is exactly 2025-12-29, and already keeps the week-year distinct from in output. jiff's doesn't accept these forms either (it errors on and ), so this would be bttf-side parsing logic rather than a matter of enabling an existing jiff path — or alternatively an upstream jiff feature if you'd rather the parsing live there. Open to your call on scope: full and only, or also basic/compact forms (, ) for symmetry with the compact calendar forms that already parse? Happy to implement whichever subset you think fits once you've weighed in.

athallajovian9-cyber · 1mo ago
BurntSushi

It looks like the location of executables is changing in Cargo's test runner, so use the blessed way of discovering an executable. That is, for bttf, consult the CARGO_BIN_EXE_bttf environment variable.

BurntSushi · 3mo ago
Structured data for AI agents

Repository: BurntSushi/bttf. Description: A command line tool for datetime arithmetic, parsing, formatting and more. Stars: 767, Forks: 13. Primary language: Rust. Languages: Rust (99.9%), Shell (0.1%). License: Unlicense. Topics: cli, command-line, date, datetime, iana, jiff, recurrence-rule, rfc-5545, rust, strftime, strptime, time, time-zone, timezone, zone. Latest release: 0.1.4 (5mo ago). Open PRs: 1, open issues: 2. Last activity: 3mo ago. Community health: 42%. Top contributors: BurntSushi, synapticarbors, iliekturtles, pikammmmm, Rohan5commit.