couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dav...@apache.org
Subject [48/50] git commit: Fix deprecation warning
Date Fri, 17 Jan 2014 22:53:25 GMT
Fix deprecation warning

the _dst variant does exist in R14B04.


Project: http://git-wip-us.apache.org/repos/asf/couchdb-mochiweb/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-mochiweb/commit/e92c7864
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-mochiweb/tree/e92c7864
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-mochiweb/diff/e92c7864

Branch: refs/heads/import
Commit: e92c78644b48d71b97214741c848929f3c6dc2ba
Parents: 871b994
Author: Robert Newson <rnewson@apache.org>
Authored: Thu Aug 16 12:55:48 2012 +0100
Committer: Paul J. Davis <paul.joseph.davis@gmail.com>
Committed: Fri Jan 17 14:51:41 2014 -0800

----------------------------------------------------------------------
 src/mochiweb_request.erl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-mochiweb/blob/e92c7864/src/mochiweb_request.erl
----------------------------------------------------------------------
diff --git a/src/mochiweb_request.erl b/src/mochiweb_request.erl
index dfd439d..a114203 100644
--- a/src/mochiweb_request.erl
+++ b/src/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