-
Notifications
You must be signed in to change notification settings - Fork 150
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2526 from timclifford/feature/ui-adding-filters-t…
…o-problems-tab-1-x-master UI feature: Additional selectors to problem filters tab on environments (master/1.x)
- Loading branch information
Showing
6 changed files
with
345 additions
and
220 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
import moment from "moment"; | ||
|
||
export const getFromNowTime = (date) => { | ||
return moment(date).fromNow(); | ||
return moment.utc(date).fromNow(); | ||
}; | ||
|
||
export const getCreatedDate = (date) => { | ||
return moment.utc(date).local().format('DD MM YYYY, HH:mm:ss'); | ||
return moment.utc(date).format('DD MM YYYY, HH:mm:ssZ'); | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.