nasc icon indicating copy to clipboard operation
nasc copied to clipboard

[feature-request] Time(zone) conversion

Open nixmaniack opened this issue 4 years ago • 2 comments

It would be great if nasc adds support for time(zone) conversion and enable arithmetic for it. e.g.

9:30 AM IST to UTC

And possibly simpler names for timezones to support following.

1:30 PM IST in Singapore Time in India - 2 hours

nixmaniack avatar Aug 25 '19 19:08 nixmaniack

What works is convert a time to utc like datetime(2020;5;17;14;44;0) to utc

So the question for this Feature request is how to define that a time is wanted. Because you can't just say 9:30 AM this interferes with all the unit stuff.

If we find something I will implement it

parnoldx avatar May 17 '20 12:05 parnoldx

https://frinklang.org/#DateTimeHandling

parnoldx avatar Aug 25 '20 23:08 parnoldx