choptastic / qdate

Erlang date, time, and timezone management: formatting, conversion, and date arithmetic
http://sigma-star.com/blog/post/qdate
MIT License
247 stars 82 forks source link

Wishlist: Replace erlang_localtime #7

Open davidw opened 10 years ago

davidw commented 10 years ago

erlang_localtime does not seem to read the tzdata files, which are a more authoritative source than the ad-hoc version in erlang_localtime. Also, erlang_localtime seems to have lots of GPL code in it, which might be nice to avoid for some users.

choptastic commented 10 years ago

Thanks David,

Indeed this is something I'd considered.

There is a project called ezic, which I believe does indeed use the tzdata files (or some kind of version).

I've been meaning took into it, though I'm always open to PRs! :)

Jesse Gumm Owner, Sigma Star Systems 414.940.4866 || sigma-star.com || @jessegumm On Feb 27, 2014 11:09 AM, "David N. Welton" notifications@github.com wrote:

erlang_localtime does not seem to read the tzdata files, which are a more authoritative source than the ad-hoc version in erlang_localtime. Also, erlang_localtime seems to have lots of GPL code in it, which might be nice to avoid for some users.

Reply to this email directly or view it on GitHubhttps://github.com/choptastic/qdate/issues/7 .

davidw commented 10 years ago

Oops, I thought I'd mentioned ezic myself - that's what I was looking at.

I'll see if we end up needing to do the time zone stuff in a heavy duty way from Erlang, in that case I might have a stab at doing this myself. Time zone stuff makes me a bit crazy though...

I also added a bug report on erlang_localtime to clarify the licensing:

https://github.com/dmitryme/erlang_localtime/issues/11

choptastic commented 10 years ago

Haha, I agree completely.

The timezone stuff is about as rage-inducing as anything in software.

And I do agree about trying to avoid the GPL.

-Jesse

Jesse Gumm Owner, Sigma Star Systems 414.940.4866 || sigma-star.com || @jessegumm On Feb 27, 2014 11:18 AM, "David N. Welton" notifications@github.com wrote:

Oops, I thought I'd mentioned ezic myself - that's what I was looking at.

I'll see if we end up needing to do the time zone stuff in a heavy duty way from Erlang, in that case I might have a stab at doing this myself. Time zone stuff makes me a bit crazy though...

I also added a bug report on erlang_localtime to clarify the licensing:

dmitryme/erlang_localtime#11https://github.com/dmitryme/erlang_localtime/issues/11

Reply to this email directly or view it on GitHubhttps://github.com/choptastic/qdate/issues/7#issuecomment-36266383 .