Browse files

Backport of "T#2853 Event dates corrected." erlang.org commit

  • Loading branch information...
1 parent fb560b8 commit 068868c5ff1a6ce3b7df73a09bda4db909e1ebed @goj goj committed Jun 17, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/wparts-1.4/src/wpart_datetime.erl
View
2 lib/wparts-1.4/src/wpart_datetime.erl
@@ -36,7 +36,7 @@ handle_call(#xmlElement{attributes = Attrs0}) ->
build_html_tag(Id, Params, Default) ->
Attrs0 = wpart:normalize_html_attrs(proplists:get_value(html_attrs, Params, [])),
- Format = proplists:get_value("format", Params, "YYYY-MM-DD HH:NN:SS"),
+ Format = proplists:get_value(format, Params, "YYYY-MM-DD HH:NN:SS"),
Attrs = [{"name", Id}, {"id", Id}, {"format", Format} |
proplists:delete("name", Attrs0)],

0 comments on commit 068868c

Please sign in to comment.