I designed an app and I used labels, tables and galleries with dates but one of my customers can't see the month of the date (please see the picture). Do you know the problem? How can I solve it? I really appreciate your help!
Solved! Go to Solution.
Hi @CCastro
Text(ThisItem.Fecha;"mmmm") returns the long month name in the language that's based on the web browser language (or the language of the device).
If lenguaje="ENG" and browser language if it something other than Spanish, Text(ThisItem.Fecha;"mmmm") will not return enero/febrero/marzo etc, and this is the most likely cause of the month name not displaying as expected.
Therefore, I would check that the customer's browser/device is set to Spanish.
I had a bug simillar to that...
I talked to Microsoft, they said that they did not found an error and the app started working
If you need additional help please tag me in your reply and please like my reply.
If my reply provided you with a solution, pleased mark it as a solution ✔️!
Best regards,
Gonçalo Nogueira
Check my LinkedIn!
Check my User Group (pt-PT)!
Last Post on Community
My website!
What is the formula on the label that shows the month?
I assume you're calling the text function to format the date, and it's interesting that the month appears correctly in the 'planned' section. To diagnose this, it might be worth reviewing what's different between the labels that do and don't work.
Hi Randy,
In the Galleries the formula is:
If(lenguaje="ENG";Concatenate(Switch(Text(ThisItem.Fecha;"mmmm");"enero";"January";"febrero";"February";"marzo";"March";"abril";"April";"mayo";"May";"junio";"June";"julio";"July";"agosto";"August";"septiembre";"September";"octubre";"October";"noviembre";"November";"diciembre";"December");", ";Year(ThisItem.Fecha));Concatenate(Text(ThisItem.Fecha;"mmmm");", ";Year(ThisItem.Fecha)))
In the label the formula is:
If(Toggle1.Value=true;Concatenate(Switch(Text(DPFecha.SelectedDate;"mmmm");"enero";"January";"febrero";"February";"marzo";"March";"abril";"April";"mayo";"May";"junio";"June";"julio";"July";"agosto";"August";"septiembre";"September";"octubre";"October";"noviembre";"November";"diciembre";"December");", ";Year(DPFecha.SelectedDate));Text(DPFecha.SelectedDate;"mmmm yyyy"))
Your asumption is correct. I'm confused because the same formula works correctly when I run the app in my laptop, the mistake appear only when one customer run its (the others can see the app like me)...
Hi @CCastro
Text(ThisItem.Fecha;"mmmm") returns the long month name in the language that's based on the web browser language (or the language of the device).
If lenguaje="ENG" and browser language if it something other than Spanish, Text(ThisItem.Fecha;"mmmm") will not return enero/febrero/marzo etc, and this is the most likely cause of the month name not displaying as expected.
Therefore, I would check that the customer's browser/device is set to Spanish.
Thanks a lot, you're right! The device language is spanish but the browser is english, then the switch function doesn't works like I wanted.
User | Count |
---|---|
260 | |
110 | |
97 | |
56 | |
40 |