date format changed to add time as well
This commit is contained in:
@@ -55,7 +55,10 @@
|
|||||||
<%= new Date(analysis.created_at).toLocaleDateString('en-US', {
|
<%= new Date(analysis.created_at).toLocaleDateString('en-US', {
|
||||||
year: 'numeric',
|
year: 'numeric',
|
||||||
month: 'long',
|
month: 'long',
|
||||||
day: 'numeric'
|
day: 'numeric'
|
||||||
|
}) %>, <%= new Date(analysis.created_at).toLocaleTimeString('en-US', {
|
||||||
|
timeStyle: "long",
|
||||||
|
timeZone: "America/New_York"
|
||||||
}) %>
|
}) %>
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user