Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Writing files using predefined dataformat strings #379

Open
kb-1000 opened this issue Jan 9, 2024 · 0 comments
Open

Writing files using predefined dataformat strings #379

kb-1000 opened this issue Jan 9, 2024 · 0 comments

Comments

@kb-1000
Copy link

kb-1000 commented Jan 9, 2024

The neat part about them is that they are locale-specific, so if I use, for example, 22 as the data format id without specifying the format string, it'll display a datetime value using the user's localized date+time format. That's significantly nicer to deal with than needing to handle format string localization on the generating application side.
I'm not 100% sure how this should be handled API-side, though... would a format method with an int argument and a class with constants suffice?

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

No branches or pull requests

1 participant