prasmussen / glot-run

API for running code inside docker containers
https://run.glot.io/
MIT License
147 stars 48 forks source link

Fix Deprecated BIF: erlang:now/0 #7

Closed javierprovecho closed 8 years ago

javierprovecho commented 8 years ago

Removes this warning:

===> Compiling glot
/glot-run/_build/default/lib/glot/src/models/users.erl:39: Warning: erlang:now/0: Deprecated BIF. See the "Time and Time Correction in Erlang" chapter of the ERTS User's Guide for more information.
/glot-run/_build/default/lib/glot/src/models/users.erl:48: Warning: erlang:now/0: Deprecated BIF. See the "Time and Time Correction in Erlang" chapter of the ERTS User's Guide for more information.

/glot-run/_build/default/lib/glot/src/logging/http_log_srv.erl:52: Warning: erlang:now/0: Deprecated BIF. See the "Time and Time Correction in Erlang" chapter of the ERTS User's Guide for more information.

/glot-run/_build/default/lib/glot/src/logging/event_log_srv.erl:52: Warning: erlang:now/0: Deprecated BIF. See the "Time and Time Correction in Erlang" chapter of the ERTS User's Guide for more information.
javierprovecho commented 8 years ago

For more information check http://erlang.org/doc/man/erlang.html#timestamp-0.