Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

fmt/friendly: add "zero unit" option #194

Merged
merged 1 commit into from
Jan 4, 2025
Merged

Conversation

BurntSushi
Copy link
Owner

This adds a new option for configuring the unit to use when formatting a
zero span or duration.

Closes #192

This adds a new option for configuring the unit to use when formatting a
zero span or duration.

Closes #192
@BurntSushi BurntSushi force-pushed the ag/span-print-zero-unit branch from 1113bb8 to d6a67c9 Compare January 4, 2025 16:36
@BurntSushi BurntSushi merged commit 5e3dc49 into master Jan 4, 2025
18 checks passed
@BurntSushi BurntSushi deleted the ag/span-print-zero-unit branch January 4, 2025 16:52
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add an option to specify a unit for the zero value in the SpanPrinter
1 participant