Skip to content

fix: display start of measurement as float - #9

Merged
paulmueller merged 1 commit into
DCOR-dev:masterfrom
paulmueller-agent:timestamp-float
Nov 4, 2026
Merged

paulmueller merged 1 commit into
DCOR-dev:masterfrom
paulmueller-agent:timestamp-float

Conversation

@paulmueller-agent

Copy link
Copy Markdown

Fixes #7

The "Start of measurement in unix time" (experiment:timestamp) was formatted like every other number with .4g, so it showed up as 1.742e+09 s. It is now shown with one decimal (1742023456.1 s), matching the HH:MM:SS.S precision of the time entry. All other numbers keep the four-significant-digit format.

  • ckanext/dc_view/meta.py: special-case experiment:timestamp
  • ckanext/dc_view/tests/test_meta.py: new test
  • CHANGELOG: 1.0.4 entry

🤖 Generated with Claude Code

The unix timestamp was formatted with ".4g", which rendered as
"1.742e+09 s".

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@paulmueller
paulmueller merged commit eb8500b into DCOR-dev:master Nov 4, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Start of measurement time should be displayed as float

2 participants