Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add-PnPDataRowsToSiteTemplate export dates as UTC string #1900

Merged
merged 4 commits into from
May 26, 2022

Conversation

bjdekker
Copy link
Contributor

Type

  • Bug Fix
  • New Feature
  • Sample

Related Issues?

N/A

What is in this Pull Request ?

The Add-PnPDataRowsToSiteTemplate cmdlet exports DateTime values as-is. That means that there is no indication that the date is in UTC Time zone. Once you apply the template, the dates are read as local times, which can be a few hours off. This change formats the exported dates as UTC string, so they are not converted to a local datetime when imported.

@gautamdsheth gautamdsheth merged commit 0f3cc5d into pnp:dev May 26, 2022
@gautamdsheth
Copy link
Collaborator

Thank @bjdekker for this improvement , makes total sense !
Have merged it and will be available in tomorrow's nightly

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants