ledger / ledger-mode

Emacs Lisp files for interacting with the C++Ledger accounting system
GNU General Public License v2.0
383 stars 75 forks source link

Strange behaviour ledger-schedule-upcoming #251

Closed UtaAmb closed 4 years ago

UtaAmb commented 4 years ago

Hi,

Using Spacemacs. Created a file ledger-schedule.ledger. In the file i have

[*/*/01] transaction name
[*/*/19] transaction name
[*/*/25] transaction name
etc...

Some of this transactions are missing and some are pointed to the last month when i run this command. Can anyone tell me what i'm missing here?

Thank you.

enderw88 commented 4 years ago

By default the “show upcoming transactions “ command shows transactions from from the previous 7 days to the next 14 days. You can change this in the options.

On Tue, Jun 2, 2020 at 05:45 AntonOrlovAmbulnz notifications@github.com wrote:

Hi,

Using Spacemacs. Created a file ledger-schedule.ledger. In the file i have

[//01] transaction name [//19] transaction name [//25] transaction name etc...

Some of this transactions are missing and some are pointed to the last month when i run this command. Can anyone tell me what i'm missing here?

Thank you.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/ledger/ledger-mode/issues/251, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAGWWLFBUZDQF22Q3ALB4JTRUTX7LANCNFSM4NQWGFLA .

-- Craig, Corona De Tucson, AZ [image: missile_flyout] enderw88.wordpress.com

UtaAmb commented 4 years ago

Got it, thank you @enderw88

ledger-schedule-look-backward, ledger-schedule-look-forward.

Now how to set this to count how many days is between now and first day of the month and from now till the end of the month?

enderw88 commented 4 years ago

Never thought of that. You could set them directly in your emacs preferences file so at startup it calculates the offsets. That assumes you restart emacs at least daily.

On Tue, Jun 2, 2020 at 06:09 AntonOrlovAmbulnz notifications@github.com wrote:

Got it, thank you @enderw88 https://github.com/enderw88

ledger-schedule-look-backward, ledger-schedule-look-forward.

Now how to set this to count how many days is between now and first day of the month and from now till the end of the month?

— You are receiving this because you were mentioned.

Reply to this email directly, view it on GitHub https://github.com/ledger/ledger-mode/issues/251#issuecomment-637531403, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAGWWLBU7LFM64HZCDSU3ILRUT2ZZANCNFSM4NQWGFLA .

-- Craig, Corona De Tucson, AZ [image: missile_flyout] enderw88.wordpress.com