summaryrefslogtreecommitdiff
path: root/package.json
diff options
context:
space:
mode:
authorSukanya Pandey <sukapan1@in.ibm.com>2020-06-23 20:24:27 +0300
committerDerick Montague <derick.montague@ibm.com>2020-07-28 00:35:55 +0300
commitfc16f3c268a9d35f889f5770331d11e87ab16af3 (patch)
tree447e8f3b8b1eba2767e05ab016a46fd540e3a230 /package.json
parenta2c99829a713e8411bda20091765ee972cd4d8b9 (diff)
downloadwebui-vue-fc16f3c268a9d35f889f5770331d11e87ab16af3.tar.xz
Add timezone to profile settings page
- Users will have two options to select a timezone. - UTC and browser offset timezone are the two options for the application. - date-fns and date-fns-tz is used for date and time manipulations because:- - The package size of library is smaller. - It allows for importing functions to work with the native date object rather than having to create a moment instance that carries a larger payload. Signed-off-by: Sukanya Pandey <sukapan1@in.ibm.com> Change-Id: I581803f230f501c0d34d0b53e7c2d89e8466ee60
Diffstat (limited to 'package.json')
-rw-r--r--package.json2
1 files changed, 2 insertions, 0 deletions
diff --git a/package.json b/package.json
index 115937bf..ae920659 100644
--- a/package.json
+++ b/package.json
@@ -20,6 +20,8 @@
"bootstrap": "4.4.1",
"bootstrap-vue": "2.12.0",
"core-js": "3.3.2",
+ "date-fns": "2.14.0",
+ "date-fns-tz": "1.0.10",
"js-cookie": "2.2.1",
"lodash": "4.17.19",
"vue": "2.6.11",