diff --git a/static/js/pandora/editor.js b/static/js/pandora/editor.js index bd959760..a95ed74c 100644 --- a/static/js/pandora/editor.js +++ b/static/js/pandora/editor.js @@ -69,14 +69,11 @@ pandora.ui.editor = function(data) { Ox.Log('', 'addAnnotation', data); // async to not capture keyboard input setTimeout(function() { - var d = new Date(), - created = Ox.formatDate(d, '%Y-%m-%dT%H:%M:%SZ'), - date = Ox.formatDate(d, '%B %e, %Y'), + var created = Ox.formatDate(new Date(), '%Y-%m-%dT%H:%M:%SZ'), type = Ox.getObjectById(pandora.site.layers, data.layer).type; that.addAnnotation(data.layer, Ox.extend( { created: created, - date: date, duration: data.out - data['in'], editable: true, id: '_' + Ox.uid(), diff --git a/static/js/pandora/utils.js b/static/js/pandora/utils.js index 10acc033..f933f0e3 100644 --- a/static/js/pandora/utils.js +++ b/static/js/pandora/utils.js @@ -880,7 +880,6 @@ pandora.getVideoOptions = function(data) { pandora.site.layers.forEach(function(layer, i) { options.annotations[i] = Ox.extend({}, layer, { items: data.layers[layer.id].map(function(annotation) { - annotation.date = Ox.formatDate(annotation.modified.slice(0, 10), '%B %e, %Y'); annotation.duration = Math.abs(annotation.out - annotation['in']); annotation.editable = annotation.editable || annotation.user == pandora.user.username