aboutsummaryrefslogtreecommitdiffstats
path: root/packages/meshbay-hub/src/meshbay_hub/static/photo-sync.js
diff options
context:
space:
mode:
authorChristophe Besson <cbesson@gmail.com>2026-10-10 10:28:12 +0200
committerChristophe Besson <cbesson@gmail.com>2026-10-10 10:28:12 +0200
commit734b922370a56c7e3577c1f6bbdad69f75301334 (patch)
tree3d016fe675672f07ebc6920912738004d4572038 /packages/meshbay-hub/src/meshbay_hub/static/photo-sync.js
parentc100de578a49915dfc7ca5c30534ccccfd23d46c (diff)
downloadmeshbay-734b922370a56c7e3577c1f6bbdad69f75301334.tar.gz
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 <noreply@anthropic.com>
Diffstat (limited to 'packages/meshbay-hub/src/meshbay_hub/static/photo-sync.js')
-rw-r--r--packages/meshbay-hub/src/meshbay_hub/static/photo-sync.js2
1 files changed, 1 insertions, 1 deletions
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) {
}
}
-/** `<folder>/YYYY/MM`, one level at a time; a level that exists is fine. */
+/** `<folder>/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)) {