From 734b922370a56c7e3577c1f6bbdad69f75301334 Mon Sep 17 00:00:00 2001 From: Christophe Besson Date: Sat, 10 Oct 2026 10:28:12 +0200 Subject: fix(android): back photos up under YYYY/YYYY-MM, not YYYY/MM A month folder named 08 alone read like an album number. Co-Authored-By: Claude Opus 5.5 --- packages/meshbay-hub/src/meshbay_hub/static/photo-sync.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'packages/meshbay-hub/src') diff --git a/packages/meshbay-hub/src/meshbay_hub/static/photo-sync.js b/packages/meshbay-hub/src/meshbay_hub/static/photo-sync.js index 154a009..74084b8 100644 --- a/packages/meshbay-hub/src/meshbay_hub/static/photo-sync.js +++ b/packages/meshbay-hub/src/meshbay_hub/static/photo-sync.js @@ -249,7 +249,7 @@ async function upload(transport, item) { } } -/** `/YYYY/MM`, one level at a time; a level that exists is fine. */ +/** `/YYYY/YYYY-MM`, one level at a time; a level that exists is fine. */ async function makeDirs(transport, folder, dir, dirs) { let at = folder; for (const name of dir.slice(folder.length + 1).split('/').filter(Boolean)) { -- cgit v1.2.3