<p></p>
<blockquote>
<p dir="auto">It comes from <code class="notranslate">l(date, :format => :friendly)</code> where I have no idea which component implements this.</p>
</blockquote>
<p dir="auto">The <code class="notranslate">:friendly</code> formats are controlled by our locale files, for example in en.yml there is:</p>
<pre class="notranslate"><code class="notranslate">en:
  time:
    formats:
      friendly: "%e %B %Y at %H:%M"
</code></pre>
<p dir="auto">The format codes are from ruby <a href="https://docs.ruby-lang.org/en/3.2/strftime_formatting_rdoc.html" rel="nofollow">strftime</a>, where <code class="notranslate">%e</code> means "Day of the month, in range (1..31), blank-padded:" and <code class="notranslate">%-d</code> would be the same but without the padding.</p>
<p dir="auto">Note that each locale has its own formatting, e.g. japanese (ja) is <code class="notranslate">'%Y年%m月%e日 %H:%M'</code></p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />Reply to this email directly, <a href="https://github.com/openstreetmap/openstreetmap-website/pull/4361#issuecomment-1822547211">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLMQI64OF2TVU6BIZJTYFXLEBAVCNFSM6AAAAAA7V5HPWKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMRSGU2DOMRRGE">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/AAK2OLPBTDKMKXPMUJ5HA6TYFXLEBA5CNFSM6AAAAAA7V5HPWKWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTTMUHOQW.gif" height="1" width="1" alt="" /><span style="color: transparent; font-size: 0; display: none; visibility: hidden; overflow: hidden; opacity: 0; width: 0; height: 0; max-width: 0; max-height: 0; mso-hide: all">Message ID: <span><openstreetmap/openstreetmap-website/pull/4361/c1822547211</span><span>@</span><span>github</span><span>.</span><span>com></span></span></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/openstreetmap/openstreetmap-website/pull/4361#issuecomment-1822547211",
"url": "https://github.com/openstreetmap/openstreetmap-website/pull/4361#issuecomment-1822547211",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>