From 4c06eb64cbed3562e428ce59857d1763098638f3 Mon Sep 17 00:00:00 2001 From: Nathan Reiner Date: Wed, 19 Nov 2025 09:15:49 +0100 Subject: allow images to upload and sort if according to their datetime --- static/month.js | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'static/month.js') diff --git a/static/month.js b/static/month.js index 9ed0467..7875f36 100644 --- a/static/month.js +++ b/static/month.js @@ -80,6 +80,10 @@ export default class Month { static literal(strings) { return Month.from_string(strings[0]); } + + static get current() { + return Month.from_date(new Date()); + } } export const literal = Month.literal; -- cgit v1.2.3-70-g09d2