couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rnew...@apache.org
Subject git commit: Fix deprecation warning
Date Thu, 16 Aug 2012 11:56:27 GMT
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 <rnewson@apache.org>
Authored: Thu Aug 16 12:55:48 2012 +0100
Committer: Robert Newson <rnewson@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 ++ ")"},


Mime
View raw message