Skip to content

Respect european.cal in DatedSection week logic#498

Open
tsautier wants to merge 1 commit intodrftpd-ng:masterfrom
tsautier:fix/issue-325
Open

Respect european.cal in DatedSection week logic#498
tsautier wants to merge 1 commit intodrftpd-ng:masterfrom
tsautier:fix/issue-325

Conversation

@tsautier
Copy link
Copy Markdown

@tsautier tsautier commented Jan 14, 2026

Problem

SectionManager creates new week directories on Sundays instead of Mondays, even when european.cal=true is set in the configuration. The European calendar setting was being ignored.

Solution

Fix the week directory creation logic in DatedSection to respect the European calendar setting.

Changes Made

  • Modified DatedSection.java to properly check the european.cal configuration
  • Week directories are now created on Monday when European calendar is enabled

Fixes: #325

@tsautier
Copy link
Copy Markdown
Author

@mvangoor @hrxcodes for review

@tsautier tsautier force-pushed the fix/issue-325 branch 2 times, most recently from 557c03b to 4463d2f Compare January 14, 2026 19:55
@tsautier tsautier changed the title Fix/issue 325 Respect european.cal in DatedSection week logic Jan 14, 2026
@tsautier tsautier force-pushed the fix/issue-325 branch 5 times, most recently from d449946 to 0897377 Compare January 14, 2026 23:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

SectionManager week dirs does not respect european.cal setting

1 participant