Ticket #993 (new enhancement)

Opened 4 years ago

Last modified 4 years ago

Add [current_server_date] and [current_server_time] CGI variables

Reported by: charlie@im-design.net Assigned to: sdlime
Priority: high Milestone: FUTURE
Component: MapServer CGI Version: unspecified
Severity: minor Keywords:
Cc:

Description

It would be a nice to have to be able to put a timestamp on each map that is 
produced. Of course it would be a really nice to have if we were able to 
specify date string types, etc.

Change History

10/26/04 00:06:42 changed by sdlime

  • rep_platform changed from PC to All.
  • op_sys changed from Windows XP to All.
  • severity changed from normal to enhancement.
  • milestone set to FUTURE.
Not a bad idea, but it will have to wait a bit, most likely for the next release
although it would be introduced in the development version far sooner. There may
be a workaround for you now. The ID generated internally for a request is based
on the time and the process id. So using Javascript you could extract the time
in seconds and convert on the client. It's not a good work around, nor may it
even be possible but if you're in a bind...

I would propose something like:

[date format="%YYYY-%mm-%dd"] 

and something similar for time.

Steve