tpope / vim-speeddating

speeddating.vim: use CTRL-A/CTRL-X to increment dates, times, and more
http://www.vim.org/scripts/script.php?script_id=2120
971 stars 40 forks source link

After Friday comes .... Sunday and decreasing from Friday -> Thursday is not working #45

Closed jamilraichouni closed 2 years ago

jamilraichouni commented 2 years ago

Hi!

First many, many thanks for all your cool plugins @tpope .

Now something I experience:

When I

  1. create a buffer with just the word Friday in it,
  2. command :SpeedDatingFormat %A (according to #24),
  3. place the cursor somewhere in the word Friday, and
  4. press Ctrl+A

I get Sunday.

I expected Saturday.

Is there something I can do so that we have the repeating order

Monday Tuesday Wednesday Thursday Friday Saturday Sunday Monday Tuesday ...

etc.?

jamilraichouni commented 2 years ago

I also see that I cannot decrease from Friday to Thursday with Ctrl+X.

tpope commented 2 years ago

Now that's what I call an old bug!

jamilraichouni commented 2 years ago

Thank you for that very quick bug fix! Cheers, Jamil