From 5fbbf93d4d0027b5173bd4effa95a10e20efbcec Mon Sep 17 00:00:00 2001 From: Jesse Gumm Date: Thu, 30 Apr 2015 14:45:53 -0500 Subject: [PATCH] Update readme. Remove unnecessary macro from qdate_srv --- CHANGELOG.markdown | 5 +++++ README.markdown | 3 --- src/qdate_srv.erl | 2 -- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.markdown b/CHANGELOG.markdown index a9d73d3..95a5b09 100644 --- a/CHANGELOG.markdown +++ b/CHANGELOG.markdown @@ -1,5 +1,10 @@ ## 0.4.0 (in-development) +* Remove dependency on a running server for tracking application state. + Instead, parsers and formats are registered to the application environment + vars (e.g. `application:get_env`), and timezones are registered to the + application environment or the process dictionary. A side-effect of this + change is that you can no longer query another process's timezone. * Add basic date arithmetic (e.g. `qdate:add_hours/[1-2]`, etc). * Add `get_formats()` and `get_parsers()` to see list of registered formats and parsers. diff --git a/README.markdown b/README.markdown index 9163452..4e05650 100644 --- a/README.markdown +++ b/README.markdown @@ -675,12 +675,9 @@ See [CHANGELOG.markdown](https://github.com/choptastic/qdate/blob/master/CHANGEL ## TODO -+ Strip the reliance on having to start qdate. It should just use the - application environment for storing formats and parsers. + Make `qdate` backend-agnostic (allow specifying either ec_date or dh_date as the backend) + Add `-spec` and `-type` info for dialyzer -+ Add date and time arithmetic. + Provide a sample qdate.config for users to see + Research the viability of [ezic](https://github.com/drfloob/ezic) for a timezone backend replacement for `erlang_localtime`. diff --git a/src/qdate_srv.erl b/src/qdate_srv.erl index 431acde..d8c1236 100644 --- a/src/qdate_srv.erl +++ b/src/qdate_srv.erl @@ -4,8 +4,6 @@ -module(qdate_srv). --define(SRV, ?MODULE). - -export([ set_timezone/1, set_timezone/2,