Timezone resolver and Date formatter

2018-08-13 10:00 PM (6 years ago)

A Timezone resolver is now part of the spincast-default artifact. This resolver allows you to define a default TimeZone to use, but also provides a Pebble filter: "timeZoneCookie()". This filter gets the user TimeZone using javascript and stores it in a cookie so Spincast has access to it.

Another new plugin, Spincast Date Formatter, allows you to format dates in various ways, both in Java code and in templates (using a provided dateFormat() Pebble function).