Skip to content

Bug#1

Merged
DearingDev merged 3 commits intomainfrom
bug
Apr 26, 2026
Merged

Bug#1
DearingDev merged 3 commits intomainfrom
bug

Conversation

@DearingDev
Copy link
Copy Markdown
Owner

DateTime tagged as UTC.
Allow for other secret names.

…ch-RTTicket

RT's REST API returns datetimes as strings without a timezone indicator.
The [datetime] cast produced DateTimeKind.Unspecified, causing silent
incorrect comparisons against local time on systems with a UTC offset.

Wraps all cast sites with [datetime]::SpecifyKind(..., Utc) so callers
can use .ToLocalTime() for display and compare directly against UTC values.
@DearingDev DearingDev merged commit f71e188 into main Apr 26, 2026
1 check 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.

1 participant