1
0
Fork 0
mirror of https://git.sr.ht/~seirdy/seirdy.one synced 2024-11-23 21:02:09 +00:00

Bookmark timestamps are RFC3339 not plain ISO8601

This commit is contained in:
Rohan Kumar 2022-03-10 15:28:03 -08:00
parent 3ca171d0d3
commit 2b97a169c2
No known key found for this signature in database
GPG key ID: 1E892DB2A5F84479

View file

@ -2,7 +2,7 @@
<div class="h-feed hfeed" itemscope itemtype="https://schema.org/DataFeed"> <div class="h-feed hfeed" itemscope itemtype="https://schema.org/DataFeed">
<h1 id="bookmarks" class="p-name" itemprop="name headline">My book&shy;marks</h1> <h1 id="bookmarks" class="p-name" itemprop="name headline">My book&shy;marks</h1>
{{ .Content }} {{ .Content }}
<p><em>Timestamp format: <code>YYYY-MM-DD</code>, as per <cite><a href="https://www.ietf.org/rfc/rfc3339.txt">RFC 3339</a></cite> and <cite><a href="https://xkcd.com/1179/">ISO 8601</a></cite></em></p> <p><em>Timestamp format: <code>YYYY-MM-DD HH:MM</code>, as per <cite><a href="https://www.ietf.org/rfc/rfc3339.txt">RFC 3339</a></cite></p>
<ul class="unstyled-list"> <ul class="unstyled-list">
{{ $bookmarks := getJSON "https://seirdy.one/data/bookmarks.json" -}} {{ $bookmarks := getJSON "https://seirdy.one/data/bookmarks.json" -}}
{{ range sort $bookmarks "tags" "desc" -}} {{ range sort $bookmarks "tags" "desc" -}}