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

Partial TimeSpan support in TextBox #1777

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

tomasherceg
Copy link
Member

I have added partial support for TimeSpan (basically redirecting to TimeOnly and hoping it will work at least on values between 0:00 and 23:59.59).
The TimeSpan type is weird and uses a different syntax for format strings, so there may be issues in some cases. However, the basic scenario (using it in TextBox) works.

@tomasherceg tomasherceg marked this pull request as draft February 19, 2024 18:04
@tomasherceg
Copy link
Member Author

TimeSpan format strings work in a different way than DateTime (do not use AM/PM, support more than one day), so this needs to be implemented in another way.

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