Skip to content

Add set_command_time() - #19

Open
ThomasHabets wants to merge 1 commit into
samcrow:masterfrom
ThomasHabets:set-command-time
Open

Add set_command_time()#19
ThomasHabets wants to merge 1 commit into
samcrow:masterfrom
ThomasHabets:set-command-time

Conversation

@ThomasHabets

Copy link
Copy Markdown
Contributor

I added the converting functions because in my opinion the TimeSpec should be treatable as an opaque type.

I do wonder if nanos in this context should just be i128 in case some hardware sets it weird. i64 should be good until the year 2318, assuming the unix timestamp is even the set baseline. If 0 is the timespec baseline it's good for streaming for 292 years.

@samcrow

samcrow commented Aug 11, 2026

Copy link
Copy Markdown
Owner

Thanks for contributing. This looks good. Please add an entry for this to the changelog.

@ThomasHabets ThomasHabets changed the title Add set_command_type() Add set_command_time() Aug 12, 2026
@ThomasHabets

Copy link
Copy Markdown
Contributor Author

Done

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