Skip to content

Option to change date picker format#4180

Merged
emilk merged 3 commits intoemilk:masterfrom
zaaarf:master
Mar 20, 2024
Merged

Option to change date picker format#4180
emilk merged 3 commits intoemilk:masterfrom
zaaarf:master

Conversation

@zaaarf
Copy link
Contributor

@zaaarf zaaarf commented Mar 16, 2024

Simply allows date picker buttons to show other formats than %Y-%m-%d, while keeping that as default to not break compatibility.

I'm not that experienced with Rust, so I was unsure whether you'd prefer &'a str rather than a String, let me know if I should change that.

Co-authored-by: Emil Ernerfeldt <emil.ernerfeldt@gmail.com>
@zaaarf
Copy link
Contributor Author

zaaarf commented Mar 19, 2024

Okay, applied the changes. Why did the CI fail though?

@zaaarf
Copy link
Contributor Author

zaaarf commented Mar 19, 2024

Ran the script on my side, seems to work now.

@emilk emilk merged commit 8ca270e into emilk:master Mar 20, 2024
hacknus pushed a commit to hacknus/egui that referenced this pull request Oct 30, 2024
Simply allows date picker buttons to show other formats than `%Y-%m-%d`,
while keeping that as default to not break compatibility.

I'm not that experienced with Rust, so I was unsure whether you'd prefer
`&'a str` rather than a `String`, let me know if I should change that.

---------

Co-authored-by: Emil Ernerfeldt <emil.ernerfeldt@gmail.com>
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