mirror of
https://framagit.org/framasoft/mobilizon.git
synced 2024-12-25 09:22:22 +00:00
Merge branch 'fix-tz-issue' into 'master'
Use DateTime.utc_now/0 instead of Timex.local/0 See merge request framasoft/mobilizon!702
This commit is contained in:
commit
0a0ce4a833
1 changed files with 1 additions and 1 deletions
|
@ -37,7 +37,7 @@ defmodule Mobilizon.Web.Email do
|
||||||
if Application.fetch_env!(:mobilizon, :env) == :test do
|
if Application.fetch_env!(:mobilizon, :env) == :test do
|
||||||
"REMOVED FOR TESTING"
|
"REMOVED FOR TESTING"
|
||||||
else
|
else
|
||||||
Timex.format!(Timex.local(), "{WDshort}, {D} {Mshort} {YYYY} {h24}:{m}:{s} {Z}")
|
Timex.format!(DateTime.utc_now(), "{WDshort}, {D} {Mshort} {YYYY} {h24}:{m}:{s} {Z}")
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue