Wrong commit day for VCS | Git

Answered

Hi there!

I observe this situation since the release of PhpStorm 2020. For example, I created a commit yesterday and I see "Yesterday 11:43" label in the date column - that's correct. But for the commit before yesterday I see "2020-04-112, 17:53" label and similar for the earlier commits. How can I solve it?

And the same situation I see in the annotations for lines in files.

OS: Ubuntu 18.04.4 LTS

PhpStorm 2020.1.1 Preview
Build #PS-201.7223.29, built on April 20, 2020

 

0
2 comments

Hi there,

Please check what you have at "Settings/Preferences | Appearance & Behavior | System Settings | Date Formats"

 

>"2020-04-112, 17:53"

Looks like wrong placeholder is used (or autodetected) for the Day -- looks to me as if "Day from the start of the year" is used instead of usual "Day of the month"

2

Andriy Bazanov Many thanks! You are absolutely right!

I had "YYYY-MM-DD" format and I changed it to "YYYY-MM-dd" format - it helped. I didn't know about this setting. Probably, it was added in 2020 release...

Thanks again!

0

Please sign in to leave a comment.