Skip to content

🐞 First week of month skipped if weekday overflow is enabled #221

@daelusion

Description

@daelusion

Check for existing bug reports before submitting.

  • I searched for existing Bug Reports and found no similar reports.

Expected Behavior

When navigating from the last week in a month to the next month with "Overflow weeks" enabled, the week correctly transitions to the first week in the new month. Same should happen going in reverse.

Current behaviour

When navigating from the last week in a month to the next month with "Overflow weeks" enabled, the first week of the new month is skipped (same happens in reverse)

Reproduction

  1. Use the "Quick" creator and choose the "Gregorian Calendar" preset
  2. In "Week" view, navigate to a week that overflows to the next month (i.e. Monday/Tuesday are October, Wed-Sun are November)
  3. Click the right arrow button to go to the next week
calendarium-overflow.mp4

Which Operating Systems are you using?

  • Android
  • iPhone/iPad
  • Linux
  • macOS
  • Windows

Obsidian Version Check

1.9.14

Plugin Version

2.1.0

Confirmation

  • I have disabled all other plugins and the issue still persists.

Possible solution

When navigating backwards or forwards, if a new month is entered, the day should be set to the last or first day of that month respectively

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions