8000 Write ASC header dates in local time by tomrford · Pull Request #53 · tomrford/gocan · GitHub
[go: up one dir, main page]

Skip to content

Write ASC header dates in local time - #53

Merged
tomrford merged 1 commit into
mainfrom
cursor/asc-header-local-time-d51e
Sep 4, 2026
Merged

tomrford merged 1 commit into
mainfrom
cursor/asc-header-local-time-d51e

Conversation

@tomrford
@tomrford tomrford commented Sep 4, 2026
Copy link
Copy Markdown
Owner

ASC has no time zone field, and Vector tools read the header clock as local time. The writer previously formatted that date in UTC, which shifted traces against consumer logs that use local timestamps.

This change formats the date and Begin Triggerblock lines in the process local zone. Capture timestamps stay UTC instants, and record offsets are unchanged.

The existing ASC lifecycle test pins a UTC-4 zone so the header clock is observably local even on UTC hosts.

Open in Web Open in Cursor 

ASC has no time zone field and Vector tools read the header as local
time. Capture timestamps remain UTC instants; only the header label
changes.

Co-authored-by: Tom Ford <t@tomrford.com>
@tomrford
tomrford marked this pull request as ready for review September 4, 2026 23:14
@tomrford
tomrford merged commit 0101b4a into main Sep 4, 2026
2 checks passed
@tomrford
tomrford deleted the cursor/asc-header-local-time-d51e branch September 4, 2026 23:30
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.

2 participants

0