Opened 18 years ago
Last modified 13 years ago
#1609 assigned enhancement
Add Time/Date Substitution variables to Mapefile
Reported by: | Owned by: | sdlime | |
---|---|---|---|
Priority: | high | Milestone: | FUTURE |
Component: | MapServer C Library | Version: | unspecified |
Severity: | minor | Keywords: | |
Cc: | woodbri@… |
Description (last modified by )
I have to update a bazillion mapfiles to change the Copyright year and I thought it would be a nice feature to have current year as a variable within the map files so one could do something like: TEXT "Copyright {YEAR}, ..." This also might open some interesting possibilities for others to do things like having time dependent layer classifications, etc. Not unlike have time/date function in postgres for queries, classification, adding to text strings, etc. {YEAR} {MONTH} {DAY} or {TIME:formatsting} where formatstring would allow you to specify how to display the time value. I am kind of partial to the postgres date/time formating strings. See http://www.postgresql.org/docs/8.0/interactive/functions-formatting.html#FUNCTIONS-FORMATTING-DATETIME-TABLE but hey I'll take the functionality any way I can as long as I can get YYYY year format to add to my Copyright strings :) Thanks.
Change History (2)
comment:1 by , 15 years ago
Description: | modified (diff) |
---|---|
Milestone: | → 6.0 release |
Status: | new → assigned |
comment:2 by , 13 years ago
Milestone: | 6.0 release → FUTURE |
---|
Note:
See TracTickets
for help on using tickets.