Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/Websites/Websites/ChangeLog.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
- Additional information about change #1
-->
## Upcoming Release
* Fixed DateTime conversion issue caused by culture

## Version 2.10.0
* Updated `New-AzAppServicePlan` to create an app service plan with host environment id #16094
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
using System;
using System.Linq;
using System.Management.Automation;
using System.Globalization;

namespace Microsoft.Azure.Commands.WebApps.Cmdlets.BackupRestore
{
Expand All @@ -34,7 +35,7 @@ public override void ExecuteCmdlet()
ResourceGroupName = this.ResourceGroupName,
Name = this.Name,
Slot = string.IsNullOrEmpty(this.Slot) ? "Production" : this.Slot,
SnapshotTime = DateTime.Parse(s.Time)
SnapshotTime = DateTime.Parse(s.Time, CultureInfo.InvariantCulture)
};
}).OrderByDescending(s => s.SnapshotTime).ToArray();
WriteObject(list, true);
Expand Down