cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Bene_Schmieder
Level: Powered On

Date Format in Teams

Hello everybody,

i have a problem with a PowerApp that I've created recently.

In the PowerApp is a DateTable, which shows different dates based on a SharePoint list. In my browser the date is shown correctly but as soon as I'm opening the PowerApp within Teams (the PowerApp is pinned in the register above) the locale is set to English (I'm from Germany if you haven't guessed it already according to my language Smiley Wink ).

This means, that the date is shown in the wrong format. Is there any way to set the locale manually or to set the locale from Teams?

Thanks in advance

1 ACCEPTED SOLUTION

Accepted Solutions
Bene_Schmieder
Level: Powered On

Re: Date Format in Teams

Hello @v-monli-msft,

thank you for your answer.

 

PowerApps picks up this setting from the Windows Setting.

https://blogs.msdn.microsoft.com/charles_sterling/2016/12/02/forcing-the-powerapps-to-a-specific-lan...

 

The Windows / Teams language settings are all correctly set.

 

You could try to override using the Text function, for example:
 

Text(Today(),”[$-en-US]dd/mm/yyyy”)

 For more information about using PowerApps functions please see:
https://powerapps.microsoft.com/en-us/tutorials/formula-reference/
The Text function specifically can be found here:
https://powerapps.microsoft.com/en-us/tutorials/function-text/

 

Unfortunaly the text function isn't usable in datatables.

But I found a workaround:

I've changed the format in the SharePoint List I'm getting my data from, from "Date & Time" to "Single Text Line" and voilà the format is correct.

 

Greets



2 REPLIES 2
Community Support Team
Community Support Team

Re: Date Format in Teams

Hi @Bene_Schmieder ,

 

PowerApps picks up this setting from the Windows Setting.

https://blogs.msdn.microsoft.com/charles_sterling/2016/12/02/forcing-the-powerapps-to-a-specific-lan...
You could try to override using the Text function, for example:
 

Text(Today(),”[$-en-US]dd/mm/yyyy”)

 For more information about using PowerApps functions please see:
https://powerapps.microsoft.com/en-us/tutorials/formula-reference/
The Text function specifically can be found here:
https://powerapps.microsoft.com/en-us/tutorials/function-text/

 

Regards,

Mona

 

Community Support Team _ Mona Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Bene_Schmieder
Level: Powered On

Re: Date Format in Teams

Hello @v-monli-msft,

thank you for your answer.

 

PowerApps picks up this setting from the Windows Setting.

https://blogs.msdn.microsoft.com/charles_sterling/2016/12/02/forcing-the-powerapps-to-a-specific-lan...

 

The Windows / Teams language settings are all correctly set.

 

You could try to override using the Text function, for example:
 

Text(Today(),”[$-en-US]dd/mm/yyyy”)

 For more information about using PowerApps functions please see:
https://powerapps.microsoft.com/en-us/tutorials/formula-reference/
The Text function specifically can be found here:
https://powerapps.microsoft.com/en-us/tutorials/function-text/

 

Unfortunaly the text function isn't usable in datatables.

But I found a workaround:

I've changed the format in the SharePoint List I'm getting my data from, from "Date & Time" to "Single Text Line" and voilà the format is correct.

 

Greets



Helpful resources

Announcements
firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

SecondImage

PowerApps Monthly Community Call

Next Wednesday, August 21st at 8am PDT

Top Community Contributors for July 2019

Top Community Contributors for July 2019

Let's thank our top community contributors

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

FirstImage

Power Platform World Tour

Coming to a city near you

thirdimage

PowerApps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

FourthImage

Join PowerApps User Group!!

Connect, share, and learn with your peers year-round

FifthImage

Dynamics 365 and Power Platform April 2019 Release notes

Features releasing from April 2019 through September 2019!

SixthImage

Power Summit Australia 2019

August 20-23rd 2019

Users Online
Currently online: 182 members 4,048 guests
Please welcome our newest community members: