Jump to content

snippets with {date:YYYY} show 2022 instead of 2021


Recommended Posts

* What you were doing when the issue happened
I was using a snippet I have which pastes in the current date in YYYY-MM-DD format. 
Instead of pasting "2021-12-30" as expected, it pasted "2022-12-30"
A snippet I have that uses {date:full} pastes in the correct date "Thursday, December 30, 2021"
Been using these snippets for at least a couple years without issue.
 
* Whether you were able to replicate it a second time by performing the same action
Yes. It occurs with any snippet I have set up that uses {date:YYYY} or {date:YY}
 
* Include any screenshots that might help us
see below
 
* Include the Alfred version & build number you are using
Alfred 4.6.1
 
* Include your macOS version
macOS 12.1
 
* Troubleshooting steps I've taken
- checked the system clock in the Date & Time preferences (it was correct)
- quit and re-opened Alfred
 
787826126_ScreenShot2021-12-30at12_31_33PM.thumb.png.641416a03adecdaa5f2bc93bc7feab7c.png
2084014835_ScreenShot2021-12-30at12_31_45PM.thumb.png.6ccac68cb7c3c2b707e86991e371d304.png
Link to comment
3 minutes ago, deanishe said:


It shouldn't: the appropriate standard also starts the week on Monday.
 

AFAIK, starting the week on a Sunday is another one of those bizarre Americanisms. Other people don't do it that way.

 

Weird. I don't recall having had this problem last year, but it's possible I just didn't notice.

 

(I'm in the US, but I've never understood starting the calendar week on Sunday when the work and school week, for most, starts on Monday.)

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...