I played around with it and found out:

  • The appointment is not displayed in the week in which it is added, but in the following weeks.
  • The appointment repeats one time less than estimated (when you enter repeat = 3 then it repeats only twice)

Hope this helps in finding the bug.