Non-US date formats in CGIs

Ethan Galstad nagios at nagios.org
Wed Nov 23 23:18:11 CET 2005


Thanks all!  This patch will be in CVS shortly.

On 23 Nov 2005 at 21:17, Ton Voon wrote:

> 
> On 23 Nov 2005, at 16:36, Ian Chard wrote:
> 
> > Ton Voon wrote:
> >>
> >> On 23 Nov 2005, at 16:23, Ian Chard wrote:
> >>
> >>> Is there any way to coax the CGIs, specifically when you set   
> >>> downtimes,
> >>> so that they use the British date format (DD/MM/YYYY)?
> >>
> >>
> >> Check nagios.cfg for the line:
> >>
> >> date_format=euro
> >
> > Hmm, at the moment I have "date_format=iso8601", but I still get
> > dates of the form "11/23/2005" when I go to set downtime.  AIUI
> > iso8601 should give YYYY-MM-DD format.
> >
> 
> Looks like the cmd.cgi does not respect the date_format setting. Try  
> this patch:
> 
> 



Ethan Galstad,
Nagios Developer
---
Email: nagios at nagios.org
Website: http://www.nagios.org



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list