-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Option to use dekads (10 days period) rather than weeks (7 days period) #276
Comments
It should be quite doable, since I don't actually track weeks or months at all internally. Those are simply calculated based on values stored or derived in src/constants.mjs. The same value can/should be used for the number of segments in the circular clock for weeks. |
Actually, I have thought a little more about this. It's true that calculation of the number of "weeks" based on an arbitrary number of days in a "week" is already data driven, based on whatever number is in If I implement the feature as you request, with a hard switch between 7-day weeks and 10-day dekads, I'm almost certain at some point in the future to get a new request for "my game world uses weekly divisions of 5 days, or 6, or 12". I'm torn between two responses now. First is to implement something simple:
I already have customisation support for the word used for "week". Once this is all in place, you could then implement Dekads by setting the week length to 10 days, and the word used for "week" to "dekad". But it's flexible, because I don't need to implement something else for the 12 day week, or the 5, the 6 or whatever. The other response is to say "meh, it's too hard, just use Small Time and the Simple Calendar modules". But I already know I'm not going to say that 😄 |
…o separate section. It's still a work in progress. Needs to dynamically redraw to respond to week lengths but it's a start. #276
I think it's done. I'll make an alpha pre-release build and you can start testing. |
@GregoryWarn If you have time to test, then the v1.2.0-alpha2 release contains this feature. You can install in Foundry using the manifest URL: https://github.com/DC23/jd-easytimekeeping/releases/download/v1.2.0-alpha2/module.json Everything looks ok to me, but other people always seem to find things that I miss. The main issue I am aware of is that the settings form layout gets a little messy as elements get hidden when reducing the number of days in the week. I can't find a way to convince the form to redo the flex layout. It's not a major issue though. |
Is your feature request related to a problem? Please describe.
It's not a big problem, but I use to divide each month in 3 dekads (10 days period) in my campaign setting like ancient greeks.
So, for example, day 18 should be "day 8, dekad 2" rather than "day 4, week 3"
Describe the solution you'd like
A setting option which let choose dekads or weeks
Describe alternatives you've considered
A sort of counter that every {7or10 days} add +1 to {week or dekad}
PS: I'm a self-taught beginner programmer so I don't realize if it's an easy thing to do or not
The text was updated successfully, but these errors were encountered: