# fix\(cost\): date provider cost history in the locale \(\#388\) · lucenx/codexbar-plasma

[View on GitCafe](https://git.cafe/lucenx/codexbar-plasma/commit/b88748142fd8f48db8faa2380a7c449673f9be7d)

Repository: [lucenx/codexbar-plasma](https://git.cafe/lucenx/codexbar-plasma)

Visibility: public

Requested revision: b88748142fd8f48db8faa2380a7c449673f9be7d

Requested commit: b88748142fd8f48db8faa2380a7c449673f9be7d

Commit: b88748142fd8f48db8faa2380a7c449673f9be7d

Tree: c55265cb0b79ae1c897426097ca368a9eedce3de

Author: Simone

Committer: GitHub

## Message

```
fix(cost): date provider cost history in the locale (#388)

The provider cost chart dates its days in the locale's short format, but
the history rows, the peak line, the latest-day summary, and the
selected-day details title showed the CLI's YYYY-MM-DD keys. All of them
now use the chart's format; other labels stay as the CLI sent them.

The calendar key to local date conversion moves into ProviderNormalizer,
so the chart and the cost text share it. The static check for the details
title only ever matched its second fragment; it now checks both titles.

Documentation impact: CHANGELOG Unreleased and the usage guide's cost
entry. TODO.md is unaffected.

Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
```

## Parents

- [a4bc6cd50e6de61b9c94a8f19ba675d2813551e2](https://git.cafe/lucenx/codexbar-plasma/commit/a4bc6cd50e6de61b9c94a8f19ba675d2813551e2?format=markdown)

[Source at this commit](https://git.cafe/lucenx/codexbar-plasma/tree/b88748142fd8f48db8faa2380a7c449673f9be7d?format=markdown)
