Jump to content


  • Posts

  • Joined

  • Last visited

Everything posted by plapcity

  1. I have been using YUI date formatters that work with the developer template. You can find the formatters here: Date Class - YUI Library. For example, the following code: <p class="meta"> Posted on <time datetime="{addedOn|date %F}">{addedOn|date %B %d, %Y}</time>. </p> Renders as: Posted on August 8, 2013 So, if you wanted to do something like 8 Aug 13, you would code out: <p class="meta"> Posted on <time datetime="{addedOn|date %F}">{addedOn|date %d %b %y}</time> </p> You can find more formatters such as AM/PM or full/abbreviated months or day of the week. I also use Moment.js to format dates more specifically, see the Moment&period;js documentation. Hope this helps! Best, Perri
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.