Jump to content

Date Formatting in Alfred v3 - Snippets [fixed b655]


jonesbp

Recommended Posts

I am using an auto-expanded snippet to generate some YAML frontmatter in a blog post.

 

I have the following formatting using the dynamic date tokens:

- date: {date:yyyy-MM-dd}
  permalink: /{date:yyyy}/{date:MM}/{date:dd}/

which (today on May 21, 2016) I believe should output the following:

- date: 2016-05-21
  permalink: /2016/05/21/

and instead I get:

- date: 2016-05-21
  permalink: /2016}/{21PM/

I am using:

 

- Version 3.0 [652]

- Mac OS X 10.11.5

 

I am invoking this snippet through auto-expansion into Sublime Text 3.

Link to comment
Share on other sites

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...