Re: [MlMt] Mail Date and UTC

2014-09-24 Thread Benny Kjær Nielsen
On 23 Sep 2014, at 15:35, Alexander Kucera wrote: I have a test email whose raw headers show the date as `Date: Tue, 23 Sep 2014 13:03:13 +` which is what is written into the variable I get from MailMate. However I live in UTC+2 so the time I should be putting into the log is `15:03:13`.

Re: [MlMt] Mail Date and UTC

2014-09-24 Thread Alexander Kucera
I have Ruby's date parsing working already, just on the raw date. The existence of #date is a huge relief. While we are on the topic of Ruby. Is there any reason all the bundles are in Ruby? Would any language work? I am much more comfortable in Python for example. Alexander Kucera \

Re: [MlMt] Mail Date and UTC

2014-09-24 Thread Benny Kjær Nielsen
On 24 Sep 2014, at 10:32, Alexander Kucera wrote: While we are on the topic of Ruby. Is there any reason all the bundles are in Ruby? No. Would any language work? Yes. (As long as it can read environment variables and handle input and output in UTF8.) I am much more comfortable in

Re: [MlMt] Mail Date and UTC

2014-09-24 Thread Benny Kjær Nielsen
On 24 Sep 2014, at 11:14, Alexander Kucera wrote: Hmm, I'm not sure #date is working correctly. I have a raw date of `Tue, 23 Sep 2014 17:38:44 -0500`, but #date seems to give me the exact same thing only formatted differently. When I print #date I get `2014-09-23 17:38:44 -0500` instead of

Re: [MlMt] Mail Date and UTC

2014-09-24 Thread Alexander Kucera
Ah, I see. Time to dive into the depths of timezone conversion then I guess. Thanks Benny. Alexander Kucera \ Lighting TD Compositor — Founder Lead Artist at BabylonDreams — The Foundry certified Nuke Trainer \ Neustadt, Germany GMT +1 \ App.net: AlexK \ Skype: marvinthemartian On 24 Sep