Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix usage of deprecated now/0 #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

wtcross
Copy link

@wtcross wtcross commented Jul 16, 2015

The previously widely used now/0 function has
been deprecated in favor of different functions
for specific tasks. These are things like creating
monotonically ordered integers, getting timestamps,
performing diffs on timestamps, etc.

Reference page for deprecation purpose:
http://www.erlang.org/doc/apps/erts/time_correction.html

@wtcross
Copy link
Author

wtcross commented Jul 16, 2015

now/0 was used in a few spots for creating unique integers and measuring time differences. Please pardon my ignorance to the erlang way of doing things if I have missed something.

I'm on Erlang/OTP 18

The previously widely used now/0 function has
been deprecated in favor of different functions
for specific tasks. These are things like creating
monotonically ordered integers, getting timestamps,
performing diffs on timestamps, etc.

Reference page for deprecation purpose:
http://www.erlang.org/doc/apps/erts/time_correction.html

Bump version to 3.3.5
edescourtis pushed a commit to edescourtis/common_lib that referenced this pull request Sep 5, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant