Skip to content
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

I found a way to arrange the dates!! #38

Open
LANZATURCA opened this issue Jul 19, 2024 · 2 comments
Open

I found a way to arrange the dates!! #38

LANZATURCA opened this issue Jul 19, 2024 · 2 comments

Comments

@LANZATURCA
Copy link

Sorry for the bad translation, this is my first contribution about this

As you can see, July has 31 days, you just have to look at the calendar and check how many days the month brings

Captura de pantalla 2024-07-18 224007

  1. Add this code
{
	"path": "name of your folder/",
		 "lastDisplayedDate": "2024-07-31",
		"daysToShow": 31 	 
}
  1. Change the word "Name of your folder" to the directory where you have empty habit notes

I'll show you an example of how I'll do everything step by step with the month of November, If you notice, November of this year has 30 days, we only have to modify certain parameters in the code

Captura de pantalla 2024-07-18 225211

{
	"path": "name of your folder",
		 "lastDisplayedDate": "2024-11-30",
		"daysToShow": 30 	 
}
  1. Just change the name folder

Captura de pantalla 2024-07-18 225224

@zincplusplus
Copy link
Owner

@LANZATURCA I'm sorry but it's hard to follow what bug you're talking about. I can understand Spanish, so if you can, could you please send your message again in your native tongue? I'd really wanna hear from you 🙏

@kulbhushanchand
Copy link

@zincplusplus I understand what @LANZATURCA was trying to convey. It is a very good way to organize the habit tracker month-wise.

In a nutshell, to display a particular month only, one can set the lastDisplayedDate to the last date of the month and daysToShow to the number of days on that month. Therefore the tracker will show the data of that month only.

Also, in this way one can embed different trackers for different months.

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

No branches or pull requests

3 participants