hecate Posted March 12, 2019 Share Posted March 12, 2019 Hello friendly Alfreders! I saw a similar thing reported as a bug, but as this was similar but not exactly the same, I thought I'd start by asking for help. Any advice is greatly appreciated! I'm using Alfred v 3.8 [959] on MacOS High Sierra, 10.13.6 with English as 1st and swedish as 2nd language. 1. My datesnippets, usually consisting of things like this: %Y-%m-%d, %H:%M they aren't translated to 2019-03-12, 11:43 anymore, the expanded text is %Y-%m-%d. I can only seem to expand things like {datetime:medium}. So I learn that I need to go into the system-preferences, great. I know that this probably isn't your dilemma but I ask anyway: Where does this "at" come from? Howcome I can remove it from datetime-short by adding a comma ( , ) but it won't make a difference for the others? I have tried this in textmate, iA writer and Firefox 65.0.1 (64-bit). datetime: 2019-03-12, at 11:48 datetime-long: 20190312 at 11:48:29 CET datetime-medium: 2019-03-12, at 11:48 (And of course when I then open the preferences again, the comma is gone from short-format and not from the others. Still works as above. I have so many words for apple right now, none of them are nice.) 2. If I write xmn I should get November but the three times I have tried this, something different happens in Firefox 65.0.1 (64-bit): - November replaces everything I had written before that. - Nothing happens at all. - Cursor skips to the start of the document and expands November there. Nothing in my snippet seems to say that this should happen, any suggestion as to what can be causing this? Link to comment
Andrew Posted March 12, 2019 Share Posted March 12, 2019 @hecate Alfred evaluates dates based on unicode tr35: So you'll need to use the following for your initial example: {date:yyyy-MM-dd, HH:mm} For the full current month name, use: {date:LLLL} This link covers all other formatting you'll need: http://www.unicode.org/reports/tr35/tr35-31/tr35-dates.html#Date_Format_Patterns Cheers, Andrew hecate 1 Link to comment
hecate Posted March 24, 2019 Author Share Posted March 24, 2019 That did the trick! Thank you so much for the help! Link to comment
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now