-
Notifications
You must be signed in to change notification settings - Fork 1.8k
fix: Use UTC timezone for invoice issue dates #5204
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{{general-date @record @props.options.timezone @props.options.dateFormat}} |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,7 +18,12 @@ export default class extends Controller.extend(EmberTableControllerMixin) { | |
{ | ||
name : 'Date', | ||
valuePath : 'issuedAt', | ||
isSortable : true | ||
isSortable : true, | ||
cellComponent : 'ui-table/cell/cell-date', | ||
options: { | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Codacy found an issue: Missing space after key 'options'. |
||
timezone: 'UTC', | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Codacy found an issue: Missing space after key 'timezone'. |
||
dateFormat: 'MMMM DD, YYYY' | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Codacy found an issue: Missing space after key 'dateFormat'. |
||
} | ||
}, | ||
{ | ||
name : 'Amount', | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Codacy found an issue: Missing space after key 'isSortable'.