You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by rn...@apache.org on 2012/08/16 13:56:27 UTC
git commit: Fix deprecation warning
Updated Branches:
refs/heads/master b141e2c17 -> 010522ea3
Fix deprecation warning
the _dst variant does exist in R14B04.
Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/010522ea
Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/010522ea
Diff: http://git-wip-us.apache.org/repos/asf/couchdb/diff/010522ea
Branch: refs/heads/master
Commit: 010522ea34dfee0be980df27ce14c44f18802bb1
Parents: b141e2c
Author: Robert Newson <rn...@apache.org>
Authored: Thu Aug 16 12:55:48 2012 +0100
Committer: Robert Newson <rn...@apache.org>
Committed: Thu Aug 16 12:55:48 2012 +0100
----------------------------------------------------------------------
src/mochiweb/mochiweb_request.erl | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/couchdb/blob/010522ea/src/mochiweb/mochiweb_request.erl
----------------------------------------------------------------------
diff --git a/src/mochiweb/mochiweb_request.erl b/src/mochiweb/mochiweb_request.erl
index dfd439d..a114203 100644
--- a/src/mochiweb/mochiweb_request.erl
+++ b/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 ++ ")"},