Relative date parsing
<p>How to parse relative datetime in GO?</p>

<p>Example of relative dates:</p>

<pre class="lang-none prettyprint-override"><code>today at 9:17 AM
yesterday at 9:58 PM
Saturday at 9:44 PM
Wednesday at 11:01 AM
</code></pre>

<p>So format is <code>DAY (in the past) at TIME</code>. I tried next example:</p>

<pre class="lang-golang prettyprint-override"><code>const longForm = "Monday at 3:04 PM"
t, _ := time.Parse(longForm, "Saturday at 3:50 PM")
fmt.Println(t)
</code></pre>

<p><kbd><a href="https://play.golang.org/p/VgC5ITuu-c" rel="nofollow noreferrer"><strong>demo</strong></a></kbd></p>

<p>Time is parsed correctly, but day/date is ignored...</p>