[Lunar-bugs] [Lunar Linux 0000355]: lvu info doesn't show compile time stats

Lunar bug reports list lunar-bugs at lunar-linux.org
Wed Jul 30 07:25:46 CEST 2008


The following issue has been SUBMITTED. 
====================================================================== 
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:                     assigned
Moonbase Version:           2007MMDD.NN (I'm an idiot and didn't edit this
field.) 
Core Tools:                 Lunar 
Core Tools Version:         20080303 
====================================================================== 
Date Submitted:             07-30-2008 07:25 CEST
Last Modified:              07-30-2008 07:25 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'?
====================================================================== 

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



More information about the Lunar-bugs mailing list