mirror of
https://github.com/Readarr/Readarr.git
synced 2026-04-21 22:04:31 -04:00
updated _ templating pattern to be {{ }} instead of <%%>
This commit is contained in:
@@ -1,4 +1,9 @@
|
||||
/// <reference path="../app.js" />
|
||||
NzbDrone.AddSeries.SearchResultModel = Backbone.Model.extend({
|
||||
|
||||
mutators: {
|
||||
seriesYear: function () {
|
||||
var date = Date.utc.create(this.get('firstAired'));
|
||||
return date.format('{yyyy}');
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user