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

Enable different timeformat for displaying vs storage #1098

Open
xeruf opened this issue Nov 26, 2020 · 1 comment
Open

Enable different timeformat for displaying vs storage #1098

xeruf opened this issue Nov 26, 2020 · 1 comment
Labels
enhancement New feature or request 📌 This can't go stale
Milestone

Comments

@xeruf
Copy link
Contributor

xeruf commented Nov 26, 2020

Feature Request

Add an optional second timeformat option to the config that is only used for output: display_timeformat

Use Case/Motivation

Recently I added the weekday to my timeformat, because it makes it much easier to discover a past entry.
Unfortunately, this also adds this superfluous information to my jrnl file, which I don't want.

Example Usage

timeformat: '%Y-%m-%d %H:%M'
timeformat_display: '%Y-%m-%d %a %H:%M'

Other information

Might make fixing #630 easier.

@xeruf xeruf added 🆕 New! enhancement New feature or request labels Nov 26, 2020
@wren wren added 📌 This can't go stale and removed 🆕 New! labels Nov 28, 2020
@wren
Copy link
Member

wren commented Nov 28, 2020

I think this is a good idea. Thanks for the suggestion!

Having separate options for storage and display is something I'd like to move more towards in general, and the datestamp is a good place to start.

I'm not 100% sure what the key should be, but we can work that out later.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request 📌 This can't go stale
Projects
None yet
Development

No branches or pull requests

3 participants