Skip to content

Fix #44 and adding way to configure custom formatter#47

Merged
Vxrpenter merged 11 commits into
masterfrom
patch/NoticeOfDepartures
Jun 16, 2025
Merged

Fix #44 and adding way to configure custom formatter#47
Vxrpenter merged 11 commits into
masterfrom
patch/NoticeOfDepartures

Conversation

@Vxrpenter

Copy link
Copy Markdown
Owner

Etiquette

  • Did you check the contribution guidelines?
  • Does this request not already exist in another form?

Changes

  • Bugfix
  • Feature
  • Behavior Change
  • Configuration
  • Other: ____

Tested

  • Completely
  • Mostly
  • Partly
  • Nothing

Description

This brings a fix to a switch up of handler and issuer in notice of departures. In addition, there is a new feature that allows the user to configure a custom DateTimeFormatter, that will be used for the notice of departure feature only.

You will have to add this line to your config right under the notice of departure active value (as shown in the screenshot):

  # The formatting that is used to format the notice of departure dates
  date_formatting: "dd.MM.yyyy"

Image

Also, all mentions of the formatter in the translation has been replaced by the %formatter% tag, which will adapt to the current configured formatter, loaded after every restart. So make sure to reset you language files.

@Vxrpenter Vxrpenter added enhancement General Improvement bugfix A fix to an existing bug labels Jun 16, 2025
@Vxrpenter Vxrpenter linked an issue Jun 16, 2025 that may be closed by this pull request
@Vxrpenter Vxrpenter added the breaking Changes will break current configurations label Jun 16, 2025
@Vxrpenter
Vxrpenter merged commit 87c2192 into master Jun 16, 2025
1 check passed
@Vxrpenter
Vxrpenter deleted the patch/NoticeOfDepartures branch June 16, 2025 19:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

breaking Changes will break current configurations bugfix A fix to an existing bug enhancement General Improvement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Notice of departure displays wrong user

1 participant