I have an AppSheet app where the user downloads CSV files from the data on the app. The Download button's CSV file locale is English (United States), but the user is in Germany. When the user downloads the data, the DateTime columns are not always in the DateTime data type, sometimes they are text; when I download, I don't have this problem. When I make another button whose CSV file locale is English (Germany) and German (Germany), it completely ruins the CSV file, but the damage is not the same as if the German user downloads an English (United States) CSV file locale button. Is there a way to ensure that the DateTime data types from a download consistently stays in that data type form regardless of what the country of origin is downloading the singular download button.
The only thing I can think of is if you create your own manual csv attachment email (via an AppSheet Bot). Inside your template, you may be able to base a conditional expression on another datapoint that is user specific within the app. Ex. IF(USERSETTINGS('locale')='German', TEXT([datetimeColumn],"dd.mm.yyyy HH:MM:SS"),TEXT([datetimeColumn],"mm/dd/yyyy HH:MM:SS"))
User | Count |
---|---|
18 | |
15 | |
10 | |
7 | |
4 |