Handle when_ fields
This commit is contained in:
parent
fb99765a2a
commit
f8a84454d8
@ -66,7 +66,7 @@ func transformType(name, t string) string {
|
|||||||
// Some time fields are strings in the JS client,
|
// Some time fields are strings in the JS client,
|
||||||
// use LemmyTime for those
|
// use LemmyTime for those
|
||||||
switch name {
|
switch name {
|
||||||
case "published", "updated":
|
case "published", "updated", "when_":
|
||||||
return "LemmyTime"
|
return "LemmyTime"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user