From: blp@cs.stanford.edu (Ben Pfaff)
To: linux-kernel@vger.kernel.org
Cc: linux-usb@vger.kernel.org, linux-ext4@vger.kernel.org
Subject: Re: Regular ext4 error warning with HD in USB dock
Date: Tue, 28 Dec 2010 07:02:06 -0800 [thread overview]
Message-ID: <87wrmu54b5.fsf@benpfaff.org> (raw)
In-Reply-To: 20101228143255.GI10149@thunk.org
Ted Ts'o <tytso@mit.edu> writes:
> On Tue, Dec 28, 2010 at 11:41:53AM +0100, torn5 wrote:
>>
>> This is going to be a faq...
>> I suppose the datetime is encoded (what format is that?) in that
>> long number after "at".
>
> Number of seconds since January 1st, 1970 midnight GMT. (Standard
> Unix-time format). It's hard for the kernel to decode it since it
> doesn't know what time-zone you are in, or what your local legislature
> has done vis-a-vis arbitrary and cabritious adjustments to the
> start/stop date of daylight savings time, etc.
>
> It's easy enough to decode it using perl:
>
> perl -e '$t = localtime(1289053677); print "$t\n"'
The "date" program can decode these values too:
date -d @1289053677
--
Ben Pfaff
http://benpfaff.org
next prev parent reply other threads:[~2010-12-28 15:02 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-12-27 22:53 Regular ext4 error warning with HD in USB dock Con Kolivas
2010-12-28 2:53 ` Ted Ts'o
2010-12-28 8:19 ` Rogier Wolff
2010-12-28 9:09 ` Con Kolivas
2010-12-28 10:30 ` Amir Goldstein
2011-01-01 17:20 ` Ric Wheeler
2010-12-28 14:15 ` Ted Ts'o
2010-12-28 10:41 ` torn5
2010-12-28 14:32 ` Ted Ts'o
2010-12-28 15:02 ` Ben Pfaff [this message]
2010-12-28 15:20 ` torn5
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=87wrmu54b5.fsf@benpfaff.org \
--to=blp@cs.stanford.edu \
--cc=linux-ext4@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-usb@vger.kernel.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