atom-diary icon indicating copy to clipboard operation
atom-diary copied to clipboard

Any hack to create one entry per day and per file?

Open shairontoledo opened this issue 8 years ago • 2 comments

shairontoledo avatar Mar 28 '16 00:03 shairontoledo

Would that be one file per day containing all entries for that day?

sluedecke avatar Apr 20 '16 11:04 sluedecke

Lets assume one file per day, containing all entries for that day. One has to

  1. decide on the folder structure, it should be 2017/01 with all entries for that month (currently it's just 2017)
  2. refactor lib/calendar-lib.coffee to support the additional structural level (almost all routines are affected)
  3. adapt lib/atom-diary.coffee: openDiaryFile, addEntryAt
  4. add a configuration option which can be set at the very start

Step two is the one with the most work needed, but it should not take longer than a day to change all this. Feel free to post a pull request with a solution.

sluedecke avatar Feb 23 '17 19:02 sluedecke