Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
Find revenue opportunities in your open source data
</h4>
<p class="text-sm leading-6">
Centralize community, product, and customer data to understand which companies are engaging with your open source project.
Centralize community, product, and customer data to understand which companies are engaging with your open source project.
</p>
</div>
<div class="grid grid-rows-2 gap-8">
Expand Down
4 changes: 2 additions & 2 deletions frontend/src/utils/date.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ import config from '@/config';
* @param timestamp
* @returns {string|string}
*/
export const formatDateToTimeAgo = (timestamp) => (moment(timestamp).year() === 1970
export const formatDateToTimeAgo = (timestamp) => (moment.utc(timestamp).year() < 2000
? 'some time ago'
: moment(timestamp).fromNow());
: moment.utc(timestamp).fromNow());

/**
*
Expand Down