<div class="markdown">
<p dir="auto">On 15 Jul 2014, at 8:16, Max Rydahl Andersen wrote:</p>
<blockquote>
<p dir="auto">On 14 Jul 2014, at 13:51, Benny Kjær Nielsen wrote:</p>
<blockquote>
<p dir="auto">On 13 Jul 2014, at 9:59, Max Rydahl Andersen wrote:</p>
<blockquote>
<p dir="auto">Is there a way to have it show the 7 week days (Monday, Tuesday, Wednesday), etc. in statistics ?</p>
</blockquote>
<p dir="auto">Hmm, only very low-level I think. I think it would be possible to define a custom specifier for the <code>Date</code> header of the message picking the “Sun/Mon/...” part of it. It could be named Weekday and then “Date ▸ Weekday” would be available in the GUI. Interested in more details about this?</p>
</blockquote>
<p dir="auto">Yes :)</p>
</blockquote>
<p dir="auto">Save the following in this file:</p>
<pre><code>~/Library/Application Support/MailMate/Resources/specifiers.plist
</code></pre>
<pre><code>{
parsers =
{
rawDate = {
headers = ( "date" );
specifierRegex = '^\s*([A-Za-z]{3})';
specifierCaptures = {
1 = { specifier = "weekday"; };
};
};
};
}
</code></pre>
<p dir="auto">Then restart MailMate and look for <code>Date</code> (without the '*') in the window opened via “Other…” in the headers popup. It should have a Weekday specifier.</p>
<p dir="auto">Here is the result of applying this to my All Messages:</p>
<p dir="auto"><img src="cid:31625CC1-8494-4FB4-B009-E0108CA5C8C8@freron.com" alt="" title="Screen Shot 2014-07-15 at 9.57.26 AM.png"></p>
<p dir="auto">Sigh, and today is Tuesday :-)</p>
<p dir="auto">-- <br>
Benny</p>
</div>