Jump to content

createdStr formatting? Changing the format for the timestamp value in pageListLabel?


Recommended Posts

Posted

I thought I recalled somewhere seeing that it was possible to format the timstamps for the pageListLabel.

Did I dream it? Is that just a fantasy? Something like {created:YYYY-mm} or something like that?

Can the createdStr date format be configured in a setting someplace?

I can do this with other means but for some reason I felt like there was a way to do this...

Maybe I'm confusing it with being able to alter the date in the default child naming setting?

Posted

Yeah I did find it that way as well.

Thanks!

I also forgot until I did a code audit yesterday that it is pretty trivial to override the getPageListLabel() method when using page classes. It still might be worth bringing the parsing over for folks not interested in doing it that way.

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...