Merge pull request #3952 from overleaf/revert-cmg-binary-file

Revert "Merge pull request #3526 from overleaf/cmg-binary-file"

GitOrigin-RevId: 5f539f26992fefd01b07922b1f43a3a3bc753141
This commit is contained in:
Chrystal Maria Griffiths
2021-04-24 02:10:12 +00:00
committed by Copybot
parent 1186c3e9a4
commit 4e9d7c36ff
21 changed files with 9 additions and 1053 deletions
@@ -1,20 +0,0 @@
import moment from 'moment'
moment.updateLocale('en', {
calendar: {
lastDay: '[Yesterday]',
sameDay: '[Today]',
nextDay: '[Tomorrow]',
lastWeek: 'ddd, Do MMM YY',
nextWeek: 'ddd, Do MMM YY',
sameElse: 'ddd, Do MMM YY'
}
})
export function formatTime(date) {
return moment(date).format('h:mm a')
}
export function relativeDate(date) {
return moment(date).calendar()
}