New config opt for default_timezone with fun
This commit is contained in:
parent
366bc5e8d5
commit
2dfcc52dd5
3 changed files with 25 additions and 12 deletions
|
@ -1,5 +1,12 @@
|
|||
%% vim: ts=4 sw=4 et ft=erlang
|
||||
[{qdate, [
|
||||
%% default_timezone can be one of two things:
|
||||
%% 1) An actual timezone. Either short-form like "GMT", "UTC", or a
|
||||
%% longer-form (but more likely to pick the correct daylight saving
|
||||
%% config timezone like "America/Chicago"
|
||||
%% 2) A 2-tuple of {Module, Function}, which will be called as
|
||||
%% Module:Function() to determine the timezone (say you wanted to
|
||||
%% determine timezone based on some kind of environmental conditions)
|
||||
{default_timezone, "GMT"},
|
||||
|
||||
%% See readme section here:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue