mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-15 06:33:55 +01:00
Merge pull request #12549 from overleaf/ii-history-react-list-of-all-versions
[web] All versions of history entries GitOrigin-RevId: 7365ac4913c115b3b2872a3713d893463719c15e
This commit is contained in:
@@ -11,8 +11,8 @@ moment.updateLocale('en', {
|
||||
},
|
||||
})
|
||||
|
||||
export function formatTime(date) {
|
||||
return moment(date).format('h:mm a')
|
||||
export function formatTime(date, format = 'h:mm a') {
|
||||
return moment(date).format(format)
|
||||
}
|
||||
|
||||
export function relativeDate(date) {
|
||||
|
||||
Reference in New Issue
Block a user