Handle when_ fields

This commit is contained in:
Elara 2023-09-24 20:40:00 -07:00
parent fb99765a2a
commit f8a84454d8
1 changed files with 1 additions and 1 deletions

View File

@ -66,7 +66,7 @@ func transformType(name, t string) string {
// Some time fields are strings in the JS client,
// use LemmyTime for those
switch name {
case "published", "updated":
case "published", "updated", "when_":
return "LemmyTime"
}