mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-22 16:20:52 +01:00
Fix language string
This commit is contained in:
parent
ac6ae9e8dd
commit
493d3bc7aa
@ -482,8 +482,8 @@ get_dateweek(Date, Lang) ->
|
||||
12 -> ?T("December")
|
||||
end,
|
||||
case Lang of
|
||||
"en" -> io_lib:format("~s, ~s ~w, ~w", [Weekday, Month, D, Y]);
|
||||
"es" -> io_lib:format("~s ~w de ~s de ~w", [Weekday, D, Month, Y]);
|
||||
<<"en">> -> io_lib:format("~s, ~s ~w, ~w", [Weekday, Month, D, Y]);
|
||||
<<"es">> -> io_lib:format("~s ~w de ~s de ~w", [Weekday, D, Month, Y]);
|
||||
_ -> io_lib:format("~s, ~w ~s ~w", [Weekday, D, Month, Y])
|
||||
end.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user