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

Use Bulk Delete option - start time off by time zone #380

Closed
akaskela opened this issue Oct 30, 2023 · 1 comment · Fixed by #383
Closed

Use Bulk Delete option - start time off by time zone #380

akaskela opened this issue Oct 30, 2023 · 1 comment · Fixed by #383

Comments

@akaskela
Copy link

Hi @MarkMpn, thanks for the awesome tool. I noticed a minor issue when I tried to delete records with the Use Bulk Delete operations checked. The bulk delete process is created correctly but the start time doesn't handle timezones correctly. My user is EST (UTC-4) and when I run the delete at 12:00 it's created with a scheduled time of 16:00.

@MarkMpn
Copy link
Owner

MarkMpn commented Oct 30, 2023

Is it possible that your Windows setup is on a different time zone from the Dataverse user profile, e.g. Windows is on EST but you're connecting with an application user which is set to UTC?

At the moment it's using DateTime.Now to schedule it, which follows the Microsoft sample code. I can try changing it to DateTime.UtcNow and see if that works, but it's worth checking if your user profile settings are consistent as well.

@MarkMpn MarkMpn mentioned this issue Nov 5, 2023
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 a pull request may close this issue.

2 participants