Fix improper date reference in blog reader. am: 2732bb762a
am: 0f6d425804
am: 53cd365b2d
am: a5bce98621
* commit 'a5bce98621ef4aa7632ead4de267118f4832d6c2':
Fix improper date reference in blog reader.
Change-Id: Iedec1fc31a923e12a9733427a7ee2666c761b3e5
This commit is contained in:
@@ -2146,7 +2146,7 @@ function showSamples() {
|
||||
|
||||
BlogReader.prototype.openModal_ = function(blog, post) {
|
||||
var published = new Date(post.published);
|
||||
var formattedDate = monthNames[published.getMonth()] + ' ' + published.getDay() + ' ' + published.getFullYear();
|
||||
var formattedDate = monthNames[published.getMonth()] + ' ' + published.getDate() + ' ' + published.getFullYear();
|
||||
this.blogReader.find('.dac-modal-header-open').attr('href', post.url);
|
||||
this.blogReader.find('.dac-modal-header-title').text(blog.title);
|
||||
this.blogReader.find('.dac-blog-reader-title').html(post.title);
|
||||
|
Reference in New Issue
Block a user