move formatDate to ohif/core

This commit is contained in:
Rodrigo Antinarelli committed 2020-06-26 16:17:25 -03:00
1 parent a5170076db
commit 9145215596
8 files changed
+21 -17

No files matched your search

+1
View File
@@ -44,6 +44,7 @@
"isomorphic-base64": "^1.0.2",
"lodash.clonedeep": "^4.5.0",
"lodash.merge": "^4.6.1",
"moment": "^2.24.0",
"mousetrap": "^1.6.3",
"validate.js": "^0.12.0"
}
+3
View File
@@ -15,6 +15,7 @@ import makeCancelable from './makeCancelable';
import hotkeys from './hotkeys';
import Queue from './Queue';
import isDicomUid from './isDicomUid';
import formatDate from './formatDate';
import formatPN from './formatPN';
import resolveObjectPath from './resolveObjectPath';
import * as hierarchicalListUtils from './hierarchicalListUtils';
@@ -27,6 +28,7 @@ const utils = {
addServers,
sortBy,
writeScript,
formatDate,
formatPN,
b64toBlob,
StackManager,
@@ -50,6 +52,7 @@ export {
absoluteUrl,
addServers,
sortBy,
formatDate,
writeScript,
b64toBlob,
StackManager,
+2 -3
View File
@@ -1,8 +1,7 @@
import getMockedStudies from './getMockedStudies';
import getFormattedDate from './getFormattedDate';
const utils = { getMockedStudies, getFormattedDate };
const utils = { getMockedStudies };
export { getMockedStudies, getFormattedDate };
export { getMockedStudies };
export default utils;