Skip to content
New issue

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

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

Already on GitHub? # to your account

FR: Customizable Timestamp Format #100

Closed
greetclammy opened this issue Nov 5, 2024 · 6 comments
Closed

FR: Customizable Timestamp Format #100

greetclammy opened this issue Nov 5, 2024 · 6 comments
Assignees
Labels
complete This has been fixed or implemented feature request New feature request

Comments

@greetclammy
Copy link

greetclammy commented Nov 5, 2024

Problem

The current timestamp format for "created date" and "last updated date" fields is too large and adds unnecessary clutter. It’s distracting, and there’s no way to customize it to make it fit better with the rest of my notes.

image

Idea

Add an option to set custom formats for these timestamps using Moment.js. I’d like to use a more compact format that doesn’t take up as much space. If it’s possible, it’d be great to apply this customizable format to any frontmatter keys that are set as "date & time" types too. This would make things look cleaner and more consistent across my notes.

@isaaclyman
Copy link
Owner

The logs, like the developer console? Can you screenshot what you mean?

@isaaclyman isaaclyman added the feature request New feature request label Nov 5, 2024
@joel72265
Copy link

joel72265 commented Nov 5, 2024

I am not sure, if my request is the same as the original post.

e.g. For me the

Updated Date 2024/11/05, would it be possible to customize the Updated Date like
Updated Date 05 Nov or 05 Nov 24 instead

@greetclammy
Copy link
Author

I have reworded the post. Please disregard the original version.

@isaaclyman
Copy link
Owner

Got it, thanks.

Related: #70 and #65 (comment).

What I'm thinking at the moment is there could be a text box under "Advanced options" to let you put in a date string in Moment.js format. It would default to YYYY/MM/DD, which is what the app currently uses.

Would that meet your needs?

@greetclammy
Copy link
Author

Yep, just what the doctored ordered!

For reference, here's Linter:

Screen Shot 2024-11-08 at 13 11 30

Update modified date:

Screen Shot 2024-11-08 at 13 11 57

@isaaclyman isaaclyman added the complete This has been fixed or implemented label Dec 6, 2024
@isaaclyman
Copy link
Owner

This feature is now available in v4.2.0.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
complete This has been fixed or implemented feature request New feature request
Projects
None yet
Development

No branches or pull requests

3 participants