Browse Source

misplaced function head moved down.

oxpa 9 years ago
parent
commit
81742fd34c
1 changed files with 3 additions and 3 deletions
  1. 3 3
      src/filter_lib/erlydtl_dateformat.erl

+ 3 - 3
src/filter_lib/erlydtl_dateformat.erl

@@ -63,12 +63,12 @@ format({{_,_,_} = Date,{_,_,_} = Time}, FormatString) ->
 %%
 format({_,_,_} = Date, FormatString) ->
     replace_tags(Date, {0,0,0}, FormatString);
-format(DateTime, FormatString, TransFun) ->
-    io:format("Translations are not yet supported", []),
-    FormatString.
 format(DateTime, FormatString) ->
     io:format("Unrecognised date paramater : ~p~n", [DateTime]),
     FormatString.
+format(DateTime, FormatString, TransFun) ->
+    io:format("Translations are not yet supported", []),
+    FormatString.
 
 replace_tags(Date, Time, Input) ->
     replace_tags(Date, Time, Input, [], noslash).