Merge pull request #8502 from overleaf/ds-admin-user-info-part-2
User details page migration to react (Read only data) - part 2 GitOrigin-RevId: f0c0fe1e029a8a91021f151da5a2460ebe606de6
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
import moment from 'moment'
|
||||
|
||||
export function formatUtcDate(date) {
|
||||
if (date) {
|
||||
return moment(date).utc().format('D MMM YYYY, HH:mm:ss') + ' UTC'
|
||||
} else {
|
||||
return 'N/A'
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user