public inbox for linux-audit@redhat.com
 help / color / mirror / Atom feed
From: Steve Grubb <sgrubb@redhat.com>
To: linux-audit@redhat.com
Subject: Re: year value for ausearch?
Date: Fri, 30 Apr 2010 10:24:32 -0400	[thread overview]
Message-ID: <201004301024.32901.sgrubb@redhat.com> (raw)
In-Reply-To: <1272567002.8625.36.camel@lcb>

On Thursday 29 April 2010 02:50:02 pm LC Bruzenak wrote:
> On Thu, 2010-04-29 at 00:39 -0500, LC Bruzenak wrote:
> > Just got word back from a non-US fielded system that the ausearch -ts
> > DAY/MONTH/YEAR doesn't work, e.g. :
> > % ausearch -ts 04/29/2010
> > says that the year value is invalid
> > 
> > but
> > % ausearch -ts 04/29/10 works.
> > 
> > Something with locale? It's F10 audit.

Yes, exactly.
 
> Sorry I meant MONTH/DAY/YEAR as in the example.
> 
> Looking at the code it appears to use the locale's format, so it is
> likely I will need to change the ausearch input to match.?.

Yes. It should be documented in the --start --end portion of the man page. 
What the exact format is for the locale you are in is not covered.

-Steve

  reply	other threads:[~2010-04-30 14:24 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-29  5:39 year value for ausearch? LC Bruzenak
2010-04-29 18:50 ` LC Bruzenak
2010-04-30 14:24   ` Steve Grubb [this message]
2010-04-30 19:10     ` LC Bruzenak
2010-05-03 16:33       ` Steve Grubb

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201004301024.32901.sgrubb@redhat.com \
    --to=sgrubb@redhat.com \
    --cc=linux-audit@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox