lib/models/music_brainz/release_group.rb in musicbrainz-0.4.2 vs lib/models/music_brainz/release_group.rb in musicbrainz-0.4.3

- old
+ new

@@ -22,12 +22,12 @@ @release_group = MusicBrainz::ReleaseGroup.new @release_group.id = xml.attr('id') @release_group.type = xml.attr('type') @release_group.title = xml.css('title').text @release_group.disambiguation = xml.css('disambiguation').empty? ? '' : xml.css('disambiguation').text - date = xml.css('first-release-date').empty? ? '9999-12-31' : xml.css('first-release-date').text + date = xml.css('first-release-date').empty? ? '2030-12-31' : xml.css('first-release-date').text if date.length == 0 - date = '9999-12-31' + date = '2030-12-31' elsif date.length == 4 date += '-12-31' elsif date.length == 7 date += '-31' end