Jump to content

DateTime type and Client/Browser (different) localization


Filippo Gronchi 3

Recommended Posts

All,

 

I am facing trouble using a IronPython script that set the X-Axis range of a BarChart. Dynamic start and end limits are evaluated from a Document Property. The issue is that Spotfire client (and server) are set with English as defaulty language while all the final users have Chrome with Italian localization. Therefore during development I have to use a code where to set April 28th 2020 I write "4-28-2020" (DateTime type), while when I deploy to the server I have to assign "28-04-2020" to the EndPeriod variable. I'm looking for a method to make this design browser independent.

Thanks a lot in advance.

 

filippo

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...