Skip to content

Commit

Permalink
test: 0 place on timestamps for notifications
Browse files Browse the repository at this point in the history
  • Loading branch information
jackrosa183 committed Sep 18, 2024
1 parent 0bf494d commit b0ab2b0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/lib/tilex/notifications/notifications_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -7,22 +7,22 @@ defmodule Tilex.NotificationsTest do
%{
time_zone: "America/Chicago",
input: ~N[2021-09-20 08:59:59.999],
expected: ~N[2021-09-20 09:00:00.000]
expected: ~N[2021-09-20 09:00:00.000000]
},
%{
time_zone: "America/Chicago",
input: ~N[2021-09-20 09:00:00.000],
expected: ~N[2021-09-27 09:00:00.000]
expected: ~N[2021-09-27 09:00:00.000000]
},
%{
time_zone: "Europe/Paris",
input: ~N[2021-09-20 08:59:59.999],
expected: ~N[2021-09-20 09:00:00.000]
expected: ~N[2021-09-20 09:00:00.000000]
},
%{
time_zone: "Europe/Paris",
input: ~N[2021-09-20 09:00:00.000],
expected: ~N[2021-09-27 09:00:00.000]
expected: ~N[2021-09-27 09:00:00.000000]
}
]

Expand Down

0 comments on commit b0ab2b0

Please sign in to comment.