[Notice] Announcing the End of Demo Server [Read me]
my-files: Change default file date format
socialDate(attachment.createdDate) has a deligate bug, so change it to getDateString(attachment.createdDate, "yyyy-MM-dd h:mm a")
@3733033bef38760d70d0efa1bfbdedf51ea834ff
--- app/views/user/userFiles.scala.html
+++ app/views/user/userFiles.scala.html
... | ... | @@ -57,7 +57,7 @@ |
57 | 57 |
<div class="span5 file-name"><a href="@routes.AttachmentApp.getFile(attachment.id)" target="_blank"><i class="icon text-icon"></i>@attachment.name</a></div> |
58 | 58 |
<div class="span1 file-size">@humanReadableByteCount(attachment.size, true)</div> |
59 | 59 |
<div class="span1 file-download"><a href="@routes.AttachmentApp.getFile(attachment.id)?action=download"><button type="button" class="ybtn"><i class="yobicon-cloud-download"></i></button> </a></div> |
60 |
- <div class="span2 file-date">@socialDate(attachment.createdDate)</div> |
|
60 |
+ <div class="span2 file-date">@getDateString(attachment.createdDate, "yyyy-MM-dd h:mm a")</div> |
|
61 | 61 |
<div class="span4 file-location">@link(attachment)</div> |
62 | 62 |
</div> |
63 | 63 |
} |
Add a comment
Delete comment
Once you delete this comment, you won't be able to recover it. Are you sure you want to delete this comment?