diff options
| author | Nathan Reiner <nathan@nathanreiner.xyz> | 2025-12-15 09:00:23 +0100 |
|---|---|---|
| committer | Nathan Reiner <nathan@nathanreiner.xyz> | 2025-12-15 09:00:23 +0100 |
| commit | aa7cb18b17dc169c0b1134bfa61fe3f7809c0f1f (patch) | |
| tree | 8d8fc28906d3d53790cf68250b613f0c27be42f8 /static/api | |
| parent | 7e340dacafb3b0758cc4641e4ab2630b04177bab (diff) | |
frontent: add date handling
Diffstat (limited to 'static/api')
| -rw-r--r-- | static/api/images.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/static/api/images.js b/static/api/images.js index 3b8c394..8e9cff2 100644 --- a/static/api/images.js +++ b/static/api/images.js @@ -71,7 +71,7 @@ export function list() { return rest.get('/api/image/list') .then(r => { r.images.forEach(i => { - i.date = new Date(i.date * 1000) + i.date = new Date(i.timestamp * 1000) }); return r.images; }); |