Jump to content

transform modifiers with date and time placeholders in snippets


sibicle

Recommended Posts

I would hope this would work in my snippet:

 

edit: specifically the ".lowercase" part

 

{date:EEEE MMM d, yyyy.lowercase}

 

but seemingly it does not. am I missing something?

 

if this doesn't work by design, feature request? 🙂

Edited by sibicle
clarify body of post
Link to post

I should have been more specific in the body of my post, sorry.

 

I am specifically wondering about the transform modifier

 

.lowercase

 

it works fine if I just do the formatting

 

{date:EEEE MMM d, yyyy}

 

gives me

 

Tuesday May 4, 2021

 

however

 

{date:EEEE MMM d, yyyy.lowercase}

 

ends up as (just picks up the period)

 

Tuesday May 4, 2021.

 

Edited by sibicle
wording
Link to post

I tried using the workflow feature to accomplish what I am after.

 

image.png.1bc02a79fc7564be0b06705a42375400.png

 

while the transform works for the text variable, it's a no go for the date:

 

image.png.83888debeea760facacba12e4a9db819.png

 

also, strangely, 'MMMM', which the official documentation lists as the format string for month name, gives...whatever that number is.

Link to post
8 hours ago, sibicle said:

while the transform works for the text variable

 

You can't set the variable and then use it in the same element. You need two Arg & Vars: one to set the variable to your date string, another to lowercase the variable.

 

8 hours ago, sibicle said:

strangely, 'MMMM', which the official documentation lists as the format string for month name

 

It works for me.

 

Fulldate.thumb.png.4210bfb3fa93489fffc2c8819a0dd251.png

Link to post

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