Jifty::DateTime - a DateTime subclass that knows about Jifty users
Jifty natively stores timestamps in the database in GMT. Dates are stored without timezone. This class loads and parses dates and sets them into the proper timezone.
See "new" in DateTime.
After calling that method,
set this object's timezone to the current user's time zone,
if the current user has a method called
Return timezone if the current user has it
Take some user defined string like "tomorrow" and turn it into a
If the string appears to be a _date_,
keep it in the floating timezone,
set it to the current user's timezone.
Returns the date given by this
It will display "today" for today,
"tomorrow" for tomorrow,
or "yesterday" for yesterday.
Any other date will be displayed in ymd format.