Permalink
Browse files

Fix deprecation warning

the _dst variant does exist in R14B04.
  • Loading branch information...
1 parent b141e2c commit 010522ea34dfee0be980df27ce14c44f18802bb1 @rnewson rnewson committed Aug 16, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/mochiweb/mochiweb_request.erl
@@ -641,7 +641,7 @@ read_file_info(File) ->
end.
to_universal(LocalTime) ->
- calendar:local_time_to_universal_time(LocalTime).
+ calendar:local_time_to_universal_time_dst(LocalTime).
server_headers() ->
[{"Server", "MochiWeb/1.0 (" ++ ?QUIP ++ ")"},

0 comments on commit 010522e

Please sign in to comment.