[GeoMoose-users] Results Templates - Format Dates
Christopher Hughes
chughes at co.lincoln.or.us
Wed Oct 7 10:56:07 PDT 2026
Hello everyone,
I was curious if anyone has had success altering date formats specifically in GeoMoose's template results. I've had some success adjusting the results using the pipes found at adammark/Markup.js: Powerful JavaScript templates<https://github.com/adammark/Markup.js/> (i.e. converting results to uppercase/lowercase, adjusting the default null value, replacing one string with another). It does give some examples of how to format dates, but I wasn't sure how to implement that in GeoMoose's deployment of MarkUp.
The issue is I'm trying to connect to a rest service (so I don't have control of the data at the source). It has a few fields that come through as YYYY-MM-DDTHH:MM:SS-[whatever the UTC modifier is] (which works but is a bit ugly), and a couple that come through as the number of seconds since 1970 (which is less useful for the average person).
Chris
--
Chris Hughes
GIS Analyst
Lincoln County GIS Department
880 NE 7th St. l Newport, OR 97365
Tel: (541) 574 1283
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geomoose-users/attachments/20261007/253eb96e/attachment.htm>
More information about the GeoMoose-users
mailing list