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 deprecated time unit warning #395

Merged
merged 1 commit into from Jul 17, 2018

Conversation

ivan
Copy link
Contributor

@ivan ivan commented Jul 17, 2018

Fixes:

warning: deprecated time unit: :microseconds. A time unit should be :second, :millisecond, :microsecond, :nanosecond, or a positive integer
  (elixir) lib/system.ex:898: System.warn/2
  (elixir) lib/system.ex:752: System.convert_time_unit/3
  (elixir) lib/calendar/datetime.ex:280: DateTime.to_unix/2
  (postgrex) lib/postgrex/extensions/timestamptz.ex:33: Postgrex.Extensions.TimestampTZ.encode_elixir/1
  (postgrex) lib/postgrex/type_module.ex:714: Postgrex.DefaultTypes.encode_params/3

@josevalim josevalim merged commit 9490e50 into elixir-ecto:master Jul 17, 2018
@josevalim
Copy link
Member

❤️ 💚 💙 💛 💜

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

2 participants