Skip to content

fix(buckets|scoop-info): Switch git log date format to ISO 8601 to avoid locale issues#6446

Merged
niheaven merged 2 commits intoScoopInstaller:developfrom
z-Fng:fix-date-format
Aug 21, 2025
Merged

fix(buckets|scoop-info): Switch git log date format to ISO 8601 to avoid locale issues#6446
niheaven merged 2 commits intoScoopInstaller:developfrom
z-Fng:fix-date-format

Conversation

@z-Fng
Copy link
Copy Markdown
Member

@z-Fng z-Fng commented Aug 15, 2025

Motivation and Context

Description

git log -1 --format='%aD' | Get-Date
git log -1 --format='%aI' | Get-Date

Passing an RFC2822-formatted (%aD) time string to Get-Date may result in parsing failures depending on the system locale.

Switching to ISO 8601 format (%aI) ensures consistent parsing across all regions, as it uses a standardized format like 2025-08-12T08:02:16+02:00.

See also:

Checklist:

  • I have read the Contributing Guide.
  • I have ensured that I am targeting the develop branch.
  • I have updated the documentation accordingly.
  • I have updated the tests accordingly.
  • I have added an entry in the CHANGELOG.

HUMORCE
HUMORCE previously approved these changes Aug 18, 2025
@niheaven niheaven merged commit ff38652 into ScoopInstaller:develop Aug 21, 2025
2 checks passed
@z-Fng z-Fng deleted the fix-date-format branch August 21, 2025 06:45
felicijus pushed a commit to felicijus/Scoop that referenced this pull request Oct 13, 2025
Deide pushed a commit to Deide/scoop that referenced this pull request Feb 14, 2026
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.

3 participants