-
-
Notifications
You must be signed in to change notification settings - Fork 49
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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add calendar picker option to textfields #224
Comments
Being able to set a "no later than this" date would be great, but added complexity would be "Deadline" (hard and fast date) vs. "Future" (no more than 7 days out). |
7 days for "No Later Than" is good, but my users can be a bit... persnickety. 14 might be better. |
the macOS implementation of the date picker in SwiftUI is notoriously fickle. I'm not setting my sights any higher than "allow the user to pick a date" but we'll see how we go. |
`--textfield "date testing",isdate=true` No validation at this point in time. Just puts the selected date into the textfield.
Date stuff is notoriously difficult based on region, timezone, etc. Your screenshot shows this, since you're using Au formatting your January 2 shows as 2/1 while mine would show 1/2. My 2 cents: This will be infinitely easier to program around if the return is a unix epoch time stamp. Wondering if you can also get the clock on their for a specific time selection. Giving back unix epoch time would make handling everything else programmatically a lot easier. |
As mentioned in slack, unix epoch is where I'll be ultimately going with this. Just wanted to get the UX behaviour sorted first to make sure it's going to work before making too many under the hood changes to support it. The idea is when using a date, what gets displayed is a localised representation. What gets stored is the full date as a unix timestamp and that's what will get sent to output for processing. The data to do that is already stored, there's jsut no logic to expose that in the results yet 馃檪 |
I'm closing this as done. Any future enhancements or changes can be handled in a specific issue. |
Title 馃憜
The text was updated successfully, but these errors were encountered: