You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by dc...@apache.org on 2013/03/12 23:40:08 UTC
[6/6] git commit: first half of Bob's TZ patch
Updated Branches:
refs/heads/1696-update-mochiweb-2-4-2 [created] 953e57643
first half of Bob's TZ patch
Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/953e5764
Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/953e5764
Diff: http://git-wip-us.apache.org/repos/asf/couchdb/diff/953e5764
Branch: refs/heads/1696-update-mochiweb-2-4-2
Commit: 953e57643bd306845dd49820f7c73b641095a16a
Parents: a489480
Author: Dave Cottlehuber <dc...@apache.org>
Authored: Tue Mar 12 21:33:19 2013 +0100
Committer: Dave Cottlehuber <dc...@apache.org>
Committed: Tue Mar 12 21:33:19 2013 +0100
----------------------------------------------------------------------
src/mochiweb/mochiweb_cookies.erl | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/couchdb/blob/953e5764/src/mochiweb/mochiweb_cookies.erl
----------------------------------------------------------------------
diff --git a/src/mochiweb/mochiweb_cookies.erl b/src/mochiweb/mochiweb_cookies.erl
index 1cc4e91..eca1184 100644
--- a/src/mochiweb/mochiweb_cookies.erl
+++ b/src/mochiweb/mochiweb_cookies.erl
@@ -52,7 +52,7 @@ cookie(Key, Value, Options) ->
undefined ->
calendar:local_time();
LocalTime ->
- LocalTime
+ erlang:localtime_to_universaltime(LocalTime)
end,
Age = case RawAge < 0 of
true ->