Update readme. Remove unnecessary macro from qdate_srv
This commit is contained in:
parent
bb33398614
commit
5fbbf93d4d
3 changed files with 5 additions and 5 deletions
|
@ -1,5 +1,10 @@
|
||||||
## 0.4.0 (in-development)
|
## 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 basic date arithmetic (e.g. `qdate:add_hours/[1-2]`, etc).
|
||||||
* Add `get_formats()` and `get_parsers()` to see list of registered formats and
|
* Add `get_formats()` and `get_parsers()` to see list of registered formats and
|
||||||
parsers.
|
parsers.
|
||||||
|
|
|
@ -675,12 +675,9 @@ See [CHANGELOG.markdown](https://github.com/choptastic/qdate/blob/master/CHANGEL
|
||||||
|
|
||||||
## TODO
|
## 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
|
+ Make `qdate` backend-agnostic (allow specifying either ec_date or dh_date as
|
||||||
the backend)
|
the backend)
|
||||||
+ Add `-spec` and `-type` info for dialyzer
|
+ Add `-spec` and `-type` info for dialyzer
|
||||||
+ Add date and time arithmetic.
|
|
||||||
+ Provide a sample qdate.config for users to see
|
+ Provide a sample qdate.config for users to see
|
||||||
+ Research the viability of [ezic](https://github.com/drfloob/ezic) for a
|
+ Research the viability of [ezic](https://github.com/drfloob/ezic) for a
|
||||||
timezone backend replacement for `erlang_localtime`.
|
timezone backend replacement for `erlang_localtime`.
|
||||||
|
|
|
@ -4,8 +4,6 @@
|
||||||
|
|
||||||
-module(qdate_srv).
|
-module(qdate_srv).
|
||||||
|
|
||||||
-define(SRV, ?MODULE).
|
|
||||||
|
|
||||||
-export([
|
-export([
|
||||||
set_timezone/1,
|
set_timezone/1,
|
||||||
set_timezone/2,
|
set_timezone/2,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue