parnoldx / nasc

Do maths like a normal person

Home Page:http://parnoldx.github.io/nasc/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[feature-request] Time(zone) conversion

nixmaniack opened this issue · 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

commented

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