Skip to content

Update getFormatInfo and getFormatDateInfo - #100

Merged
borgar merged 1 commit into
masterfrom
update-info-functions
Oct 20, 2026
Merged

borgar merged 1 commit into
masterfrom
update-info-functions

Conversation

@borgar

@borgar borgar commented Oct 20, 2026

Copy link
Copy Markdown
Owner

- getFormatInfo's currency detection now works like Excel's - Closes #99
- getFormatDateInfo now returns what kind of date it is (none, date, datetime, time) - Closes #77
- The two functions are no longer cached. This was just a waste of memory and allowed consumer code to poison the cache as return objects were not frozen.
@borgar
borgar merged commit a7d2ca9 into master Oct 20, 2026
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.

getFormatInfo no longer reads a quoted "$" as currency getFormatDateInfo should say if pattern is a date or not

1 participant