Added nasa link
This commit is contained in:
parent
d2d9b2cf05
commit
23a9049abb
2 changed files with 25 additions and 6 deletions
|
|
@ -3,4 +3,5 @@ import moment from 'moment-timezone';
|
|||
export const momentTz = date => moment.tz(date, moment.tz.guess());
|
||||
export const dateLongFormat = date => momentTz(date).format('LLLL (z)');
|
||||
export const dateParseShortFormat = date => moment(date, 'YYYY-MM-DD').format('LL');
|
||||
export const dateYYYYMMDD = date => moment(date).format('YYYY-MM-DD');
|
||||
export const dateFromNow = date => momentTz(date).fromNow();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue