aboutsummaryrefslogtreecommitdiffstats
path: root/src/cowboy_clock.erl
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2011-08-11 10:24:50 +0200
committerLoïc Hoguin <[email protected]>2011-08-11 10:24:50 +0200
commitd858153fcee803fa1d4e73ba9ea3a3f60d9520e7 (patch)
tree4ad06bee7c93120c9346edca12acd2885e2123d3 /src/cowboy_clock.erl
parentcd06efeba345fb941bb6ae8f8c6459c9d4c4f927 (diff)
downloadcowboy-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_clock.erl')
-rw-r--r--src/cowboy_clock.erl1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cowboy_clock.erl b/src/cowboy_clock.erl
index 66fc009..3597bdd 100644
--- a/src/cowboy_clock.erl
+++ b/src/cowboy_clock.erl
@@ -38,6 +38,7 @@
-type time() :: {hour(), minute(), second()}.
-type datetime() :: {date(), time()}.
+-export_type([date/0, time/0, datetime/0]).
-record(state, {
universaltime = undefined :: undefined | datetime(),