Skip to content

Incorrect Habit Stats in Item Properties  #12

Description

@IsaulGarcia

First, thanks for the amazing package!

I added the hook in the Readme to automatically add habit stats as properties of the item. This is great because I also use the org-agenda-property package which lets to see my current streaks and total completions in the org agenda view.

The problem is that marking a habit for completion doesn't add the habit stats after the completion is done, but the stats prior to completion. For example, after marking a habit as complete today, the Record_Date property is yesterday. Is this the expected behavior?

This can be solved by manually executing, org-habit-stats-update-properties but I'd prefer not to do this for each of my habits to see the correct streak in the agenda view.

Many thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions