Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Gary Thomas <gary@mlbassoc.com>
To: openembedded-core@lists.openembedded.org
Subject: Re: [PATCH] initscripts: Properly handle new timestamp format
Date: Thu, 01 Mar 2012 09:06:08 -0700	[thread overview]
Message-ID: <4F4F9E70.7010807@mlbassoc.com> (raw)
In-Reply-To: <CAP9ODKqmYL2QPDJk8AdDOxoL+EZ+B4y7OwLbsZ-+NDRLjxz3+Q@mail.gmail.com>

On 2012-03-01 09:04, Otavio Salvador wrote:
> On Thu, Mar 1, 2012 at 12:52, Gary Thomas<gary@mlbassoc.com>  wrote:
>> On 2012-03-01 08:44, Richard Purdie wrote:
>>> Is this going to cause us a problem in real world usage? I'd hope in the
>>> general case we use standard formatting?
>>>
>>> I have to admit I'm getting more than a little frustrated with what
>>> seems like a continual set of changes bouncing this format around in
>>> different directions :(.
>>
>> I agree and I'm sorry I missed this in my first change - I was just
>> trying to make the time stamps be consistent.
>>
>> As far as I can recall (which is a really long time), 'date' has always
>> wanted the format MMDDHHmm[YYYY], so I think that's what we should expect.
>> That format doesn't compare easily which is why the timestamp was changed
>> (not by me) to a more ISO standard YYYYMMDDHHmm.  If busybox has 64-bit
>> math enabled, then this can be compared with no problems, it just has
>> to be munged into the format 'date' wants.
>
> So we can have compat and 64-bit math and have it properly behaving?

Yes, I believe so.  I'll work up the patch and test it now.

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------



  reply	other threads:[~2012-03-01 16:14 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-01 14:43 [PATCH] initscripts: Properly handle new timestamp format Gary Thomas
2012-03-01 14:59 ` Richard Purdie
2012-03-01 15:11   ` Gary Thomas
2012-03-01 15:27     ` Gary Thomas
2012-03-01 15:44       ` Richard Purdie
2012-03-01 15:52         ` Gary Thomas
2012-03-01 16:04           ` Otavio Salvador
2012-03-01 16:06             ` Gary Thomas [this message]
2012-03-02  6:15               ` Lauri Hintsala
2012-03-01 16:01       ` Otavio Salvador

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=4F4F9E70.7010807@mlbassoc.com \
    --to=gary@mlbassoc.com \
    --cc=openembedded-core@lists.openembedded.org \
    /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