jgclark / NotePlan-tools

This Ruby script adds functionality to the [NotePlan app](https://noteplan.co/). Particularly when run frequently, this provides a more flexible system for repeating tasks, allows for due dates to be expressed as offsets which allows for templates, and moves or files items from Daily files to Note files. It incorporates an ealier script to 'clean' or tidy up NotePlan's data files.
26 stars 6 forks source link

Fix error in calc_offset_date for 1y #18

Closed jgclark closed 4 years ago

jgclark commented 4 years ago

When processing Birthdays, got this error:

Error in calc_offset_date from 2020-08-02 by 1y
jgclark commented 4 years ago

Now finding that

* [x] test 2 @repeat(+1y)  @done(2020-08-02 00:15)

turns into

* [x] test 2 @repeat(+1y)  @done(2020-08-02 00:15)
* [x] test 2 @repeat(+1y)  @done(2020-08-02)
* [>] test 2 @repeat(+1y)   >2021-08-02

So more to fix.

jgclark commented 4 years ago

Fixed in v1.4.3.