Commit Graph
19 Commits
Author SHA1 Message Date
Xyphyn b9e74944c8 feat: add sidebar collapsing at small sizes 2023-10-07 11:37:20 -07:00
Xyphyn 2d03071e67 upgrade: mono-svelte: 0.4.1 -> 1.2.2 2023-10-06 16:05:04 -07:00
Xyphyn b3b8a10e44 feat: add linked instances page 2023-09-27 18:56:13 -07:00
Xyphyn 6f6aed15d6 feat: add lemmy version to site card 2023-09-23 15:14:08 -07:00
Xyphyn e5a5046a47 feat: add legal page 2023-09-15 14:26:20 -07:00
Xyphyn 6afe926d4d feat: add some relativedate error handling 2023-09-04 15:01:08 -07:00
Xyphyn d6b5bfe3bb feat: show communities a user moderates, close #139 2023-09-04 14:50:29 -07:00
Xyphyn 6a106db839 feat: show admins of instance 2023-09-04 14:41:00 -07:00
Xyphyn d02d8556d5 switch to mono-svelte Button component 2023-09-03 17:05:45 -07:00
Xyphyn 5cfc98188c misc: add modlog buttons 2023-08-22 18:22:47 -07:00
Xyphyn 7518c06410 fix: fix profile system 2023-08-22 17:17:51 -07:00
Thomas J Faughnan Jr 34c712c01c fix: parse date strings as UTC
For posts, comments, and other objects, the `published` attribute is a
string containing an ISO 8601 timestamp. This timestamp is UTC, though
it is not explicit in the string's contents. When the `Date` constructor
is used on such strings, they are parsed as though they are local
timestamps. According to [1]:

> When the time zone offset is absent, date-only forms are
> interpreted as a UTC time and date-time forms are interpreted as local
> time. This is due to a historical spec error that was not consistent
> with ISO 8601 but could not be changed due to web
> compatibility.

This patch explicitly appends a 'Z' to the `published` string when it is
used as the argument to the `Date` constructor.

[1]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date
2023-07-28 20:02:01 -04:00
Xyphyn 19c4b1a4fa fix: Fix #27 2023-07-26 14:57:17 -07:00
Xyphyn 5024e9edf1 feat: add #20 2023-07-26 12:45:34 -07:00
Xyphyn e243848e17 misc: Change the way buttons are handled 2023-07-19 13:43:18 -07:00
Xyphyn 8eb1e46d30 feat: Add version to footer 2023-07-14 15:58:37 -07:00
Xyphyn 9770f15ce6 misc: Tweak design 2023-07-14 15:31:08 -07:00
Xyphyn 18010722a2 feat: Switch to getSite().my_user instead of a hacky workaround 2023-07-13 10:51:11 -07:00
Xyphyn 6181c5138a why the heck is the site card breaking 2023-07-06 18:32:53 -07:00