diff options
author | Loïc Hoguin <[email protected]> | 2011-08-11 10:24:50 +0200 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2011-08-11 10:24:50 +0200 |
commit | d858153fcee803fa1d4e73ba9ea3a3f60d9520e7 (patch) | |
tree | 4ad06bee7c93120c9346edca12acd2885e2123d3 /src/cowboy_cookies.erl | |
parent | cd06efeba345fb941bb6ae8f8c6459c9d4c4f927 (diff) | |
download | cowboy-d858153fcee803fa1d4e73ba9ea3a3f60d9520e7.tar.gz cowboy-d858153fcee803fa1d4e73ba9ea3a3f60d9520e7.tar.bz2 cowboy-d858153fcee803fa1d4e73ba9ea3a3f60d9520e7.zip |
Use cowboy_clock types in cowboy_cookies instead of calendar
Until calendar exports them at least.
Diffstat (limited to 'src/cowboy_cookies.erl')
-rw-r--r-- | src/cowboy_cookies.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cowboy_cookies.erl b/src/cowboy_cookies.erl index d7addd3..9c6c4c3 100644 --- a/src/cowboy_cookies.erl +++ b/src/cowboy_cookies.erl @@ -23,7 +23,7 @@ -type kv() :: {Name::binary(), Value::binary()}. -type kvlist() :: [kv()]. -type cookie_option() :: {max_age, integer()} - | {local_time, {calendar:date(), calendar:time()}} + | {local_time, {cowboy_clock:date(), cowboy_clock:time()}} | {domain, binary()} | {path, binary()} | {secure, true | false} | {http_only, true | false}. -export_type([kv/0, kvlist/0, cookie_option/0]). |