Hi, I have created some flows, but there seems to be an error in the data that is being pulled out of SharePoint.
The general fow is "When an item is created in SharePoint' --> 'Send an Approval Email'... however if you type '27th May' on the form in Sharepoint, when that information is pulled into the email created by Flow... the date becomes '26th May'.
The information is being pulled directly from SharePoint. The date is still correct in SharePoint.
This is happening for all of my forms.
Any ideas? assuming this is a bug?
I'm also having this problem and there doesnt seem to be much online about resolving it.
Efialtes, can you please explain where you're using this workaround? Sorry, i'm not 100% sure where you've applied this code to get this work around happening?
What locale/timezone is the SharePoint list under? In the case of 26 May vs 27 May, was it part of a time stamp whereas the it could have been one day in UTC and another in your local timezone?
Thanks for your response. Yes I think that is the problem, but i'm certain it's a bug, my profile settings and site settings for timezone are both set to +10 Australia.
It's wierd, when i fill in my form (Leave application) the calendar will show the correct date and the list shows the correct date once the item is added. However when the flow is run and the email is sent, somehow, somewhere the UTC date is picked up and populated in the email.
I have found a work around though, i've selected Date and Time to be the format of the list column. This is weird again. Although i select, lets say, 4th Jan 2017 12AM to 4th Jan 2017 12AM......it displays in the list as 12PM for both! BUT when the email is generated for approval, this is what i receive in my date input Dates: "2017-01-05T01:00:00Z" to "2017-01-05T01:00:00Z". As you can see, this is still set to 01:00Z which is UTC for our 12pm here (currently +11 with daylight savings).
Hello, and thank you for your message!
Unfortunately, we do not currently have this on our radar for a release within 2-4 weeks.
As for other feature requests, may I suggest you use the ideas forum to post it as a suggestion (https://powerusers.microsoft.com/t5/Flow-Ideas/idb-p/FlowIdeas) ? With enough votes for a particular idea, that normally can help repriotize things on our release calendar.
I have added the solution as an flow idea here: https://powerusers.microsoft.com/t5/Flow-Ideas/Timezone-Support-for-Sharepoint-Date-Column/idi-p/226...
Upvote it for a faster implementation!
Not really sure why it needs to be added as an idea.....would be common sense to support various timezones unless Flows was only designed to work for England 🙂
Lets hope this 'idea' goes somewhere one day.
I think you shouldn't focus too much on the word "idea". It's more for the dev's to see which features are most important to us. And which features(ideas) we would like to have.
Tested this morning and still failing. It seems this feature is planned, taking into acount most of us are including workarounds it will be great if Flow support team can report us as soon as this feature is finally implemented.
Has there been any update on this issue? I have a similiar issue. My List has the date format 12-09-2019, but when my flow runs and creates an email the date reverts to 2019-09-12.
Sorry its been a while since i've been on here. Whats the current config of your flow? I ended up reverting mine to use the Convert Time Zone action thats now available. This seems to work for me
Hi. Thanks for the tip. I am relatively new to SharePoint and Flows so if you could give me a further pointer
on where to add this in. My flow currently looks like this :
The dates circled in red are the ones I need the format corrected. I am not sure where to put the convert time zone action. I tried adding Convert Time Zone action (for the start and end date) above the email. See next picture. But my workflow stalled on the start an approval .
We've updated and improved the layout and uploading format of the Power Automate Cookbook!
Fill out a quick form to claim your user group badge now!
We've given our badges an overhaul and also added some brand new ones!
Learn how to build the business apps that you need.
Find out where you can attend!
Watch & learn from the Power Automate Community Video Gallery!