Skip to content
This repository has been archived by the owner on Dec 15, 2023. It is now read-only.

Calendar wont save "Specified current date is not valid" #109

Open
ghost opened this issue Feb 12, 2023 · 3 comments
Open

Calendar wont save "Specified current date is not valid" #109

ghost opened this issue Feb 12, 2023 · 3 comments

Comments

@ghost
Copy link

ghost commented Feb 12, 2023

I'm trying to make a custom calendar for a campaign I'm running. But after filling out all the information necessary to build and save the calendar, I'm getting a notification that the "Specified current date is not valid" at the top of the window. When looking at the current date selected, there is no notification that the date I've chosen is invalid by any means.
DeepinScreenshot_select-area_20230212104652

@ghost
Copy link
Author

ghost commented Feb 12, 2023

^^It should also be noted that each month has 28 days, so the day variable for the current date shouldn't be out of bounds

@valentine195
Copy link
Contributor

I'm not able to reproduce this, unfortunately. If you give me a reproducible pattern I'll fix it ASAP though!

@ghost
Copy link
Author

ghost commented Feb 14, 2023

I basically type whatever in the required fields. For a quick test, I set the calendar name as "test", a single weekday as "asdf", a single month as "fdsa" with a length of 1234 days. When setting the current date, I use [day: 1, month: "fdsa", year: 1234]. After toying around with the other parameters, I found that enabling then disabling the custom year setting fixes the issue while keeping the fields for the current day untouched. When I enable then disable the custom year setting while the day and/or year field is empty, the invalid current date notification is still showed like in the image

I'm currently using Obsidian v1.1.9 and the current version of Fantasy Calendar though the community plugins tab

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant