chore: update course entitlement
chore: update requested change chore: move show select session dialog to redux app level
This commit is contained in:
committed by
leangseu-edx
parent
c8c4f8019c
commit
7f7625333d
5
src/utils/dateFormatter.js
Normal file
5
src/utils/dateFormatter.js
Normal file
@@ -0,0 +1,5 @@
|
||||
import moment from 'moment';
|
||||
|
||||
const dateFormatter = (formatDate, date) => formatDate(moment(date).toDate(), { year: 'numeric', month: 'long', day: '2-digit' });
|
||||
|
||||
export default dateFormatter;
|
||||
@@ -1,2 +1,3 @@
|
||||
export { default as StrictDict } from './StrictDict';
|
||||
export { default as keyStore } from './keyStore';
|
||||
export { default as dateFormatter } from './dateFormatter';
|
||||
|
||||
Reference in New Issue
Block a user