How to reformat Piped Text dates in Spanish format? | XM Community
Solved

How to reformat Piped Text dates in Spanish format?

  • 6 August 2020
  • 2 replies
  • 21 views

I am working on a English survey that is also being translated into Spanish. I was using the code ${date://OtherDate/FL/-1%20month} to pipe in the date 1 month prior to the date the user takes the survey. This works when the survey is taken in English, but I cannot find an option to show the date as Day de Month, Year when users are completing the survey in Spanish. For example, I want the date to appear as "6 de agosto, 2020" but currently it appears as agosto 6, 2020.
Are there any workarounds using Javascript? Or are there Qualtrics options for translated surveys that I'm not seeing. Any advice would be greatly appreciated!

qualtrics_date_formats.png

icon

Best answer by MaiaH 26 August 2020, 21:51

View original

2 replies

Badge +1

gerrymanders There isn't currently a way to custom format the dating within the platform between survey translations; however, if you haven't already, please consider posting this functionality as a Product Idea on Community! :)

Userlevel 7
Badge +27

gerrymanders ,
You can use JavaScript and moment to reformat dates based on language. See: https://momentjs.com/docs/#/i18n/

Leave a Reply