mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-14 14:13:43 +01:00
Merge pull request #1123 from sharelatex/as-fix-missing-dates
Don't show missing dates and show confirmed emails in admin console GitOrigin-RevId: 6866d7869ec852de89be35b7b3d0725dcc195e6e
This commit is contained in:
committed by
sharelatex
parent
4c9eee51df
commit
9d4c3039e7
@@ -25,6 +25,7 @@ define(['base', 'moment'], function(App, moment) {
|
||||
'formatDate',
|
||||
() =>
|
||||
function(date, format) {
|
||||
if (!date) return 'N/A'
|
||||
if (format == null) {
|
||||
format = 'Do MMM YYYY, h:mm a'
|
||||
}
|
||||
@@ -34,5 +35,5 @@ define(['base', 'moment'], function(App, moment) {
|
||||
|
||||
App.filter('relativeDate', () => date => moment(date).calendar())
|
||||
|
||||
return App.filter('fromNowDate', () => date => moment(date).fromNow())
|
||||
App.filter('fromNowDate', () => date => moment(date).fromNow())
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user