aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/util/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/util/index.js')
-rw-r--r--src/util/index.js8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/util/index.js b/src/util/index.js
deleted file mode 100644
index 5bc0a78..0000000
--- a/src/util/index.js
+++ /dev/null
@@ -1,8 +0,0 @@
1import DateTimeFormat from 'gregorian-calendar-format';
2
3export function getFormatter(format, locale) {
4 if (typeof format === 'string') {
5 return new DateTimeFormat(format, locale.format);
6 }
7 return format;
8}