Skip to content

fix(date): generate RFC1123-compliant date string regardless of locale settings#3

Merged
hat0uma merged 2 commits intomainfrom
fix-date-formatting
Apr 10, 2025
Merged

fix(date): generate RFC1123-compliant date string regardless of locale settings#3
hat0uma merged 2 commits intomainfrom
fix-date-formatting

Conversation

@hat0uma
Copy link
Owner

@hat0uma hat0uma commented Apr 10, 2025

Fixes #2

hat0uma added 2 commits April 10, 2025 22:56
…e settings

- Use explicit weekday (NUM2WDAY) and month (NUM2MON) mappings to ensure consistent GMT formatting.
- Replace os.date default formatting with string.format to avoid locale-dependent output.
@hat0uma hat0uma merged commit 51fb382 into main Apr 10, 2025
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.

Autoreload not working

1 participant