Fix improper date reference in blog reader. am: 2732bb762a
am: 0f6d425804
* commit '0f6d425804d7fd60dc82b9fe0c4ce585aa9e5eed':
Fix improper date reference in blog reader.
Change-Id: I9641b21d8841f2847836c691eba8bfb89497417d
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