Rome() set timeZome

Hi, I use rome() to display a calendar, like so

startDateTime = rome(document.getElementById("outage-start"), {
                        timeInterval: 900,
                        dateValidator: rome.val.beforeEq(document.getElementById("outage-end")),
			min: "",
		    })

It works good, but It display the time following the timeZone of the OS. I like the timeZone to be set by the App configurations, something like this for exemple

startDateTime = rome(document.getElementById("outage-start"), {
                        timeInterval: 900,
			timeZone: "America/Adak",    // for instance, that does not work 
                        dateValidator: rome.val.beforeEq(document.getElementById("outage-end")),
                        min: "",
		    })

Is there a way to achieve that ??

This does not appear to be Cloudflare related and hence is a topic better for StackOverflow.

1 Like

This topic was automatically closed 10 minutes after the last reply. New replies are no longer allowed.