A date column formatted to show only time still is a date column and has an underlying date and time that’s actually stored.
If there was a time picker option, what would you expect for an underlying date to go with that time? Jan 1, 1970? Today? Something else?
If it could store only a time value, what would you expect that stored value to be? Would it be stored as plain text? Would it be stored in decimal form of 1 day (ex 12:00pm would be stored as 0.5)? All date and time math in glide is based on days or fractions of days. Would it respect regional 12 or 24 hour formats? Would it respect time zone differences?
Do you plan to use it with any math to add or subtract time from a date, or is purely for display purposes only?
Could it be combined with a date in some way, or would it always be independent? Should there be a separate Time column type?
Would you expect it to work with a calendar component or any date based sorting or filtering?
I ask questions like this just to stoke discussion on what people actually expect if they were given a time picker. This topic comes up often, but it seems that nobody wants to discuss their expectations. I’m not agreeing or disagreeing with the need for one, but I’d personally like to understand what people are expecting from something like this, and how people plan to use the value from a time picker. I feel like I could come up with several issues after the fact where something may or may not work as expected when they actually try to use or display the stored value.
I think it’s a lot more complex than just adding a time picker. It’s all about intended use of that value after the fact. I’m genuinely curious on other people’s thoughts when they start to consider the back end and beyond just having a time picker…looking beyond the surface.
In my opinion, a separate Time column type would be needed with it’s own formatting options and a value stored as a decimal so it can easily be used for date math down the road. Curious what others think.
On the flip side, a standard html time picker stores time in 24 hour format, but would be difficult to use for date math unless glide does something behind the scenes to allow date math to work with a time column type. Ultimately Glide uses standardized html component for date and date/time, so I would assume it would be the same case for a time picker.