aboutsummaryrefslogtreecommitdiffstats
path: root/src/cowboy_http_rest.erl
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2011-12-26 10:13:30 +0100
committerLoïc Hoguin <[email protected]>2011-12-26 10:17:29 +0100
commit156c84ff29a13f3d21c1b7ff271bda50797ca0ef (patch)
treeaa22d1276732949741e67c04774f1382b660d26c /src/cowboy_http_rest.erl
parent52c177fa6feedeed6a5fe565f13bf49cd61ef64e (diff)
downloadcowboy-156c84ff29a13f3d21c1b7ff271bda50797ca0ef.tar.gz
cowboy-156c84ff29a13f3d21c1b7ff271bda50797ca0ef.tar.bz2
cowboy-156c84ff29a13f3d21c1b7ff271bda50797ca0ef.zip
Use calendar date and time types exported since R14B04
Removes the cowboy_clock:date/0, time/0 and datetime/0 exported types.
Diffstat (limited to 'src/cowboy_http_rest.erl')
-rw-r--r--src/cowboy_http_rest.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cowboy_http_rest.erl b/src/cowboy_http_rest.erl
index 60fd762..e825a98 100644
--- a/src/cowboy_http_rest.erl
+++ b/src/cowboy_http_rest.erl
@@ -42,8 +42,8 @@
%% Cached resource calls.
etag :: undefined | no_call | binary(),
- last_modified :: undefined | no_call | cowboy_clock:datetime(),
- expires :: undefined | no_call | cowboy_clock:datetime()
+ last_modified :: undefined | no_call | calendar:datetime(),
+ expires :: undefined | no_call | calendar:datetime()
}).
-include("include/http.hrl").