Skip to content

Modular logistics and supply chain operating system (LSOS)

add user timezone to onboard create account request

Ronald A. Richardsoneedeb8f20915
diff --git a/console/app/controllers/onboard/index.js b/console/app/controllers/onboard/index.js
index 0884c476..d276c325 100644
--- a/console/app/controllers/onboard/index.js
+++ b/console/app/controllers/onboard/index.js
@@ -120,6 +120,9 @@ export default class OnboardIndexController extends Controller {
return;
}
+ // Set user timezone
+ input.timezone = Intl.DateTimeFormat().resolvedOptions().timeZone;
+
this.isLoading = true;
return this.fetch