Module

DateTime

Changes by version

Elixir 1.19.0

· 1 change

Bugfix Tool: Elixir

Do not truncate microseconds regardless of precision in DateTime.diff/3

Elixir 1.17.0

· 1 change

Enhancement Tool: Elixir

Add DateTime.shift/2 to shift datetimes with duration and calendar-specific semantics

Elixir 1.15.0

· 2 changes

Enhancement Tool: Elixir

Add DateTime.before?/2 and DateTime.after?/2

Enhancement Tool: Elixir

Support precision in DateTime.utc_now/2

Elixir 1.12.0

· 1 change

Enhancement Tool: Elixir

Add offset to DateTime.to_iso8601/2 (now to_iso8601/3)

Elixir 1.10.0

· 1 change

Enhancement Tool: Elixir

Add DateTime.now!/2 and DateTime.shift_zone!/3

Elixir 1.8.0

· 1 change

Enhancement Tool: Elixir

Add DateTime.from_naive/3, DateTime.now/1, and DateTime.shift_zone/3

Elixir 1.7.2

· 1 change

Enhancement Tool: Elixir

Take negative years into account in DateTime.from_iso8601/1

Elixir 1.5.2

· 1 change

Bugfix Tool: Elixir

Fix negative microsecond result when passing negative Unix epochs to from_unix/2

Elixir 1.4.5

· 1 change

Bugfix Tool: Elixir

Fix DateTime.from_iso8601/2 when offset has no colon

Elixir 1.3.3

· 1 change

Enhancement Tool: Elixir

Support negative integer in DateTime.from_unix/2