[mythtv-commits] Ticket #535: Non-existing date format oldDateFormat is used

MythTV mythtv at cvs.mythtv.org
Thu Oct 27 02:47:33 EDT 2005


#535: Non-existing date format oldDateFormat is used
-------------------------+--------------------------------------------------
 Reporter:  oscar        |       Owner:  ijr 
     Type:  enhancement  |      Status:  new 
 Priority:  minor        |   Milestone:  0.19
Component:  mythtv       |     Version:  head
 Severity:  low          |  -------------------------+--------------------------------------------------
 In
 [http://svn.mythtv.org/trac/browser/trunk/mythtv/libs/libmythtv/programinfo.cpp
 programinfo.cpp] oldDateFormat is used at a couple of places.
 {{{
 QString oldDateFormat = gContext->GetSetting("OldDateFormat", "M/d/yyyy");
 }}}
 This doesn't exist in the database or in the settings, thus always using
 "M/d/yyyy" which is a date format not used Sweden (or the rest of EU i
 think).

 When grepping the source I also found references to oldDateFormat in
 [http://svn.mythtv.org/trac/browser/trunk/mythtv/libs/libmythtv/tv_play.cpp
 tv_play.cpp] and
 [http://svn.mythtv.org/trac/browser/trunk/mythtv/programs/mythbackend/mainserver.cpp
 mainserver.cpp].

 Is there any reason for using this non-existing format? In programinfo.cpp
 it's a simple matter of using dateFormat instead, which is used on other
 places in that file.

-- 
Ticket URL: <http://cvs.mythtv.org/trac/ticket/535>
MythTV <http://www.mythtv.org/>
MythTV


More information about the mythtv-commits mailing list