Replies: 4 comments 1 reply
-
I would like to see a time period such as an entire day or a range of hours. With comparisons to check if the current time falls within that period. |
Beta Was this translation helpful? Give feedback.
-
I would like to request that some of the most common Internet DateTime standards should be supported for:
References
|
Beta Was this translation helpful? Give feedback.
-
This is something we've been considering adding to Pkl for a while. Some APIs to borrow from:
If we add this, it should interact with Duration |
Beta Was this translation helpful? Give feedback.
-
A key problem with e.g. adding a I had an initial attempt a while ago, but stranded a bit in these issues and some UI considerations (there is no |
Beta Was this translation helpful? Give feedback.
-
Passing date and time values is an area where there are many pitfalls and intricacies in various programming languages.
Thus I think it would be very helpful for a configuration language to define native types for this with correct bindings.
It should support validations which constrain the valid range for dates and times, and preferably also relative to current time, i.e. value must be in the past / future / at least x days into the future.
Beta Was this translation helpful? Give feedback.
All reactions