Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.3
nepomuk-core
Check-DateTime-for-negative-years.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File Check-DateTime-for-negative-years.patch of Package nepomuk-core
--- a/services/fileindexer/indexer/taglibextractor.cpp +++ b/services/fileindexer/indexer/taglibextractor.cpp @@ -119,6 +119,8 @@ QDateTime dt = QDateTime::currentDateTime(); QDate date = dt.date(); date.setDate( tags->year(), date.month(), date.day() ); + if( date.year() < 0 ) + date.setDate( 1, date.month(), date.day() ); dt.setDate( date ); fileRes.setProperty( NIE::contentCreated(), dt ); }
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor