Skip to content

Fix usage of deprecated now/0#1

Open
wtcross wants to merge 1 commit into
iamaleksey:masterfrom
wtcross:fix-deprecated-now
Open

Fix usage of deprecated now/0#1
wtcross wants to merge 1 commit into
iamaleksey:masterfrom
wtcross:fix-deprecated-now

Conversation

@wtcross
Copy link
Copy Markdown

@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
Copy Markdown
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
@wtcross wtcross force-pushed the fix-deprecated-now branch from 1c6ebc1 to 63d719f Compare July 16, 2015 17:06
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.

1 participant