Skip to content

Commit

Permalink
Bug : Fixed timestamp issue in review statement (#511)
Browse files Browse the repository at this point in the history
  • Loading branch information
joyguptaa authored Oct 29, 2023
1 parent 0d93af1 commit bb84be9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
5 changes: 4 additions & 1 deletion app/components/task/multiple-extension-form.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,10 @@
}}approved{{else}}denied{{/if}}
by
{{extension.reviewedBy}}
{{convertDate (array extension.timestamp) end_date=0}}.
{{#if extension.reviewedAt}}{{convertDate
(array extension.reviewedAt)
end_date=0
}}{{/if}}
</p>
{{/if}}
{{/each}}
Expand Down
1 change: 1 addition & 0 deletions tests/fixtures/extension-requests.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ const extensionRequests = [
timestamp: 1673784012,
assignee: 'ivinayakg',
reviewedBy: 'Joy Gupta',
reviewedAt: 1698555808,
},
{
oldEndsOn: 57658796,
Expand Down

0 comments on commit bb84be9

Please sign in to comment.