Finished component to allow metadata to be edited on existing short URLs

This commit is contained in:
Alejandro Celaya
2020-01-19 13:07:33 +01:00
parent 80a8e0b55c
commit d44a4b260e
6 changed files with 62 additions and 50 deletions

View File

@@ -70,3 +70,5 @@ export const versionIsValidSemVer = (version) => {
};
export const formatDate = (format = 'YYYY-MM-DD') => (date) => date && date.format ? date.format(format) : date;
export const formatIsoDate = (date) => date && date.format ? date.format() : date;