Skip to content

Commit

Permalink
Backport of "T#2853 Event dates corrected." erlang.org commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Krzysztof Goj committed Jun 25, 2010
1 parent fb560b8 commit 068868c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/wparts-1.4/src/wpart_datetime.erl
Expand Up @@ -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)],

Expand Down

0 comments on commit 068868c

Please sign in to comment.