I'm working on a weather forecast where I'm wanting to take a sentence like this:
Weather forecast at 5:00 PM
I need it to convert to match a format that looks like this:
2026-02-17T19:00:00+00:00
About a year ago you pushed this PR where you are taking various inputs and processing to the desired unified time format.
I am guessing that this is only available for timers right? Thinking it would be great to have this available as a service for use with my forecast blueprint but I can see other things that may also benefit from exposing this.
@msp1974 wrote:
I pulled it out of timers to allow it to be used by other things. Making a service where you can pass in a time sentence and get a datetime back should be fairly easy
I'm working on a weather forecast where I'm wanting to take a sentence like this:
Weather forecast at 5:00 PM
I need it to convert to match a format that looks like this:
2026-02-17T19:00:00+00:00
About a year ago you pushed this PR where you are taking various inputs and processing to the desired unified time format.
I am guessing that this is only available for timers right? Thinking it would be great to have this available as a service for use with my forecast blueprint but I can see other things that may also benefit from exposing this.
@msp1974 wrote:
I pulled it out of timers to allow it to be used by other things. Making a service where you can pass in a time sentence and get a datetime back should be fairly easy