Skip to content

Commit

Permalink
Fix typos in DateTime.add/4 docs (#13031)
Browse files Browse the repository at this point in the history
  • Loading branch information
teiko42 authored Oct 24, 2023
1 parent 9581ba7 commit af1e2b8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/elixir/lib/calendar/datetime.ex
Original file line number Diff line number Diff line change
Expand Up @@ -1557,10 +1557,10 @@ defmodule DateTime do
`t:System.time_unit/0`. It defaults to `:second`. Negative values
will move backwards in time.
This function always consider the unit to be computed according
This function always considers the unit to be computed according
to the `Calendar.ISO`.
This function uses relies on a contiguous representation of time,
This function relies on a contiguous representation of time,
ignoring the wall time and timezone changes. For example, if you add
one day when there are summer time/daylight saving time changes,
it will also change the time forward or backward by one hour,
Expand Down

0 comments on commit af1e2b8

Please sign in to comment.