On Sun, Feb 5, 2012 at 5:23 PM, Avi Flax <avif...@gmail.com> wrote: > What about: (formatter "fmtstr" (default-time-zone)) ?
Ah yes, but if that's the normal desired behavior that's an ugly default compared to (formatter "fmtstr")... Also worth noting is that Avi pointed out that (now), (today-at-midnight), (epoch) etc all use UTC instead of the default time zone so this is a broader philosophical point of whether clj-time should continue to use UTC as its default or your default time zone. I tend to have all my servers set to UTC and do everything in UTC (and then convert for input / output into the local user's timezone) so I'm perfectly happy with clj-time as it stands. This is more about whether the majority of users would prefer the current UTC behavior or whether it would be more convenient to use the (local) default time zone? Currently folks would need (to-time-zone (now) (default-time-zone)) and similar calls. If the behavior was changed, folks who wanted UTC would need (to-time-zone (now) utc) - although for many of these calls I'd probably add an optional timezone argument to support (now utc). Hmm, that might be worthwhile anyway to allow (now (default-time-zone))... -- Sean A Corfield -- (904) 302-SEAN An Architect's View -- http://corfield.org/ World Singles, LLC. -- http://worldsingles.com/ "Perfection is the enemy of the good." -- Gustave Flaubert, French realist novelist (1821-1880) -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en