[Silk UI Web] Text/Time Function fixes

[Silk UI Web] Text/Time Function fixes

Forge Component
Published on 17 Oct (5 days ago) by OutSystems Labs
45 votes
Published on 17 Oct (5 days ago) by OutSystems Labs
The SilkUI functions for AmPmTextToTime and TimeToAmPmText do not work correctly (handling text hours = 12:XX and time = 00:XX returns incorrect values)

The attached module has functions that I believe work correctly, I also added a function to return "Midnight" and "Noon" for 00:00 and 12:00 respectivley - no use for a time picker but good for expressions in tables/lists.

There's also a function for Australian dates (day, month, year), long and short, with/without time before/after the date. Should be okay for Euro dates too I think?
Hello Gavin,

Sorry for the really, really late reply, but somehow your post managed to evade our radar.

Thank you so much for the feedback, and also for providing a solution for the issue.
We will add this to our backlog so that we can analise and test your solution and possibly integrate some of them in Silk.

Thank you,
Samuel Jesus

Hi Sam,

No problems, I think I made another refinement to the function just last week so I might need to send an update if you decide to use any of it.