Open KronicDeth opened 5 years ago
I would prefer to have our platform abstraction layer (i.e. liblumen_core/sys
delegate to Web APIs transparently (where possible) to implement built-ins, it would still be possible for one to call Web APIs directly, but in general we'll need to support the BIFs anyway in order to support legacy code/arbitrary packages off Hex.
We'll have to decide whether we implement these and tie them to web APIs or make calling the web APIs explicit.
date/0
(#336)localtime/0
(#335)localtime_to_universaltime/1
localtime_to_universaltime/2
now/0
posixtime_to_universaltime/1
system_time/0
system_time/1
time/0
(#336)time_offset/0
time_offset/1
timestamp/0
universaltime/0
(#334)universaltime_to_localtime/1
universaltime_to_posixtime/1