MCPcopy Create free account
hub / github.com/ccusage/ccusage / format_utc_date

Function format_utc_date

rust/crates/ccusage/src/date_utils.rs:240–243  ·  view source on GitHub ↗
(timestamp: TimestampMs)

Source from the content-addressed store, hash-verified

238}
239
240pub(crate) fn format_utc_date(timestamp: TimestampMs) -> String {
241 let parts = timestamp.utc_parts();
242 format_date_parts(parts.year, parts.month, parts.day)
243}
244
245pub(crate) fn format_naive_date(date: IsoDate) -> String {
246 format_date_parts(date.year, date.month, date.day)

Callers 1

format_date_tzFunction · 0.85

Calls 2

format_date_partsFunction · 0.85
utc_partsMethod · 0.80

Tested by

no test coverage detected