mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-28 04:51:45 +02: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