forked from 0x2620/pandora
lazy format annotation date
This commit is contained in:
parent
c540f61f3d
commit
8cb6bd85ab
2 changed files with 1 additions and 5 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue