Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

formatter[datetime]: Raise error for invalid format #2085

Merged
merged 1 commit into from
Sep 9, 2024

Conversation

bim9262
Copy link
Collaborator

@bim9262 bim9262 commented Sep 9, 2024

Example bad config:

[[block]]
block = "time"
format = " $icon $timestamp.datetime(f:'%Q') "

Before this change, this config could cause other blocks to not load, after the change we get a Configuration Error.

@MaxVerevkin MaxVerevkin merged commit 1a22fae into greshake:master Sep 9, 2024
13 checks passed
@bim9262 bim9262 deleted the datetime_errors branch September 9, 2024 07:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants