{"inline_daily":{"habit-tracker":{"example_a":"Read for 20 minutes","example_b":"Walk for 30 minutes","prev_month":"Previous month","next_month":"Next month","habit_col":"Habit","cell_label":"{{habit}}, {{date}}","grid_hint":"Tap a box to tick or untick it. Future days are greyed out.","month_rate_all":"Monthly rate, all habits","month_rate_detail":"{{done}} boxes ticked out of {{days}} habit-days so far","name_label":"Habit name","delete":"Delete {{name}}","confirm_delete":"Delete “{{name}}” and all its ticked days?","streak_current":"Current streak (days)","streak_best":"Best streak (days)","month_rate":"Monthly rate","record_now":"You are on your best streak","add_label":"New habit","add_placeholder":"e.g. meditate for 10 minutes","add":"Add","max_reached":"{{n}} habits at most.","backup_title":"Backup","export":"Export (JSON)","import":"Import (JSON)","import_ok":"Import done: {{n}} habits in total.","import_error":"File not recognised: use a JSON export from this tool.","storage_note":"Your data stays in this browser (local storage). Clearing site data deletes it, so export it now and then.","method_note":"Streak: days ticked in a row up to today, or yesterday if today is empty. Rate: ticked days ÷ days elapsed in the month. Dates follow your device's local calendar."}},"docs_daily":{"tools":{"habit-tracker":{"content":{"title":"How the streak, best streak and monthly rate are calculated","intro":"The current streak counts the days ticked in a row up to today; while today is still empty, yesterday's streak holds. The best streak is the longest run of consecutive days, and the monthly rate divides ticked days by the days elapsed in the month.","details":"
On 29 October, a habit is ticked from the 1st to the 10th, from the 15th to the 26th, then on the 28th and 29th. Current streak: 2 days (the 27th is missing). Best streak: 12 days, the 15th to the 26th. Monthly rate: 24 days out of 29, or 82.8%, shown as 83%.
Each box is a local date in YYYY-MM-DD format, taken from your device. Converting to UTC, as toISOString() does, would have shifted a box ticked late in the evening in the Americas by one day. Days follow the calendar rather than 24-hour blocks, so clock changes cause no jumps. Data stays in this browser; JSON export works as a backup, and import merges habits with the same name without deleting anything.
Sources and dates: MDN Web Docs, Date.prototype.toISOString(), time zone always UTC (checked on 29/10/2026)
"},"faqs":[{"question":"How is a habit streak calculated?","answer":"It counts the days ticked in a row, going back from today. If today's box is still empty, the streak that ended yesterday stays on screen until midnight: a habit ticked on the 27th and 28th shows 2 days on the morning of the 29th."},{"question":"What happens if I miss a day?","answer":"The current streak starts again from zero, but the best streak keeps your longest run. You can tick a past day afterwards, and the streak and monthly rate are recalculated at once."},{"question":"How do I move my habits to another device?","answer":"Export the JSON file and import it on the other device. The import adds ticked days to habits with the same name and creates the others, without deleting anything."}]}}}}