~jpakkane/mediascanner/quickfix

Viewing all changes in revision 380.

  • Committer: Tarmac
  • Author(s): Pawel Stolowski
  • Date: 2013-09-05 15:09:36 UTC
  • mfrom: (379.1.1 mediascanner)
  • Revision ID: tarmac-20130905150936-bv0eir7fdgyf8pyp
Check if boost::ptime is valid before passing it to Lucene date - string formatting utility function.
Added gst_date_time_has_year / g_date_valid checks just to be safe, though they aren't important for this particular issue. Fixes: https://bugs.launchpad.net/bugs/1221184.

Approved by Jussi Pakkanen, PS Jenkins bot.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: