mhutchie / vscode-git-graph

View a Git Graph of your repository in Visual Studio Code, and easily perform Git actions from the graph.
https://marketplace.visualstudio.com/items?itemName=mhutchie.git-graph
Other
1.9k stars 244 forks source link

Add user-customisable date/time format (or one that shows the day of the week) #749

Open unikitty37 opened 1 year ago

unikitty37 commented 1 year ago

Describe the feature that you'd like

The current options for date format are

I prefer to have the month before the date in long-format dates: "Mar 24, 2019" — but I need to have the day of the week: "Sun, Mar 24, 2019". Seeing that a commit was from a Monday morning — or late on a Friday afternoon — often provides a clue to treat it with extra suspicion…

(I also like commas to break the date up, as you can see :)

Rather than continually increasing the size of the date/time format menu to accommodate everyone's favourite format, I'd suggest keeping the current presets and adding an extra "Custom" option that allows people to add their own date/time format string.

Additional context (optional)

In an ideal world, VS Code would have a global setting for the user's preferred date/time formats, and then all extensions could use that rather than having to be configured individually. I'm guessing there's no such thing at the moment, though…