I found that DateTime widgets were displaying datetimes as "09/10/2022 07:59" on my system which meant that I couldn't see the seconds. I also prefer to use iso-formatted time when possible. This pull request adds the parameter 'format' to DateItem and DateTimeItem classes so that a custom format can be optionally provided. For instance:
I found that DateTime widgets were displaying datetimes as "09/10/2022 07:59" on my system which meant that I couldn't see the seconds. I also prefer to use iso-formatted time when possible. This pull request adds the parameter 'format' to DateItem and DateTimeItem classes so that a custom format can be optionally provided. For instance:
starttime = DateTimeItem("start",format="yyyy-MM-ddTHH:mm:ss")