[Lunar-bugs] [Lunar Linux 0000355]: lvu info doesn't show compile time stats
Lunar bug reports list
lunar-bugs at lunar-linux.org
Mon Aug 18 19:09:30 CEST 2008
The following issue has been RESOLVED.
======================================================================
http://bugs.lunar-linux.org/view.php?id=355
======================================================================
Reported By: adriandelatabla
Assigned To: sofar
======================================================================
Project: Lunar Linux
Issue ID: 355
Category: theedge
Reproducibility: always
Severity: feature
Priority: normal
Status: resolved
Moonbase Version: 2007MMDD.NN (I'm an idiot and didn't edit this
field.)
Core Tools: Lunar
Core Tools Version: 20080303
Resolution: fixed
Fixed in Version:
======================================================================
Date Submitted: 07-30-2008 07:25 CEST
Last Modified: 08-18-2008 19:09 CEST
======================================================================
Summary: lvu info doesn't show compile time stats
Description:
If you set locale to spanish (in my case, but probably it also happens with
other non-US languages), lvu info doesn't show compile time stats.
I think the problem is related to start_logging() and stop_logging() in
loggin.lunar, line 21 and 28. The command 'date -u' prints date in a format
that depends on the local language. However, the perl function used in lvu
to convert dates and make the calculation (str2time), doesn't handle other
languages than English, German, Italian and French.
It could be better to store dates in a language independent format, maybe
date -u +'%F %H:%M:%S'?
======================================================================
----------------------------------------------------------------------
sofar - 08-18-08 19:09
----------------------------------------------------------------------
fixed in SVN by using `date -Ru` instead.
Issue History
Date Modified Username Field Change
======================================================================
07-30-08 07:25 adriandelatablaNew Issue
07-30-08 07:25 adriandelatablaStatus new => assigned
07-30-08 07:25 adriandelatablaAssigned To => sofar
07-30-08 07:25 adriandelatablaMoonbase Version => 2007MMDD.NN (I'm an
idiot and didn't edit this field.)
07-30-08 07:25 adriandelatablaCore Tools => Lunar
07-30-08 07:25 adriandelatablaCore Tools Version => 20080303
08-18-08 19:09 sofar Status assigned => resolved
08-18-08 19:09 sofar Resolution open => fixed
08-18-08 19:09 sofar Note Added: 0000808
======================================================================
More information about the Lunar-bugs
mailing list