creative designer

The endless search for time can be made even more interesting in Shopify since page content is cached. This can result in time be out of sync so it's best to not rely on it for accuracy.

Let's take a simple example:
{{- 'now' | date:'%H:%M:%S' -}} outputs : 04:02:23

...

When you use now, now is the time that it was cached - not the actual now time.

If you've come to this page and the times match you could just be seeing a fresh cache. Reload the page and see the result

Like to work with me?

Let's talk