1
0
Fork 0
mirror of https://github.com/seanmorley15/AdventureLog.git synced 2025-07-26 00:09:38 +02:00

feat: Open collection calendar on start date

This commit is contained in:
Lars Lehmann 2025-01-23 21:56:19 +01:00
parent 69967b759f
commit 8fee537d8b
No known key found for this signature in database
GPG key ID: BC832CCD9A8BAE4D

View file

@ -164,6 +164,9 @@
(new Date(collection.end_date).getTime() - new Date(collection.start_date).getTime()) /
(1000 * 60 * 60 * 24)
) + 1;
// Update `options.evdateents` when `collection.start_date` changes
options = { ...options, date: collection.start_date };
}
if (collection.transportations) {
transportations = collection.transportations;