Non-US date formats in CGIs

Deborah Martin Deborah.Martin at Kognitio.com
Wed Nov 23 18:35:57 CET 2005


You can change the format by hand btw. 

regards,
deborah 

-----Original Message-----
From: Ian Chard [mailto:ian.chard at sers.ox.ac.uk]
Sent: 23 November 2005 16:37
To: nagios-users at lists.sourceforge.net
Subject: Re: [Nagios-users] Non-US date formats in CGIs


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.

- Ian

-- 
Ian Chard, Unix & Network Administrator   |  E: ian.chard at sers.ox.ac.uk
Systems and Electronic Resources Service  |  T:  80587 / (01865) 280587
Oxford University Library Services        |  F:          (01865) 242287



-------------------------------------------------------
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

************************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. Any unauthorised distribution or copying is strictly 
prohibited.

Whilst Kognitio Limited takes steps to prevent the transmission of 
viruses via e-mail, we can not guarantee that any email or 
attachment is free from computer viruses and you are strongly
advised to undertake your own anti-virus precautions.

Kognitio grants no warranties regarding performance,
use or quality of any e-mail or attachment and undertakes no 
liability for loss or damage, howsoever caused.
***********************************************************************



-------------------------------------------------------
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