Skip to content

Commit

Permalink
#157 Get-IshBaselineItem parses incoming ModifiedOn and CreatedOn val…
Browse files Browse the repository at this point in the history
…ues using CurrentCulture instead resulting in Month Day swapping for some Regional Settings ... Again Regional Options issues on the build server plus actual fix for BaselineItem datetimes parsing
  • Loading branch information
ddemeyer committed Jan 26, 2024
1 parent f5e9d3e commit f28070f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ public IshBaselineItem(string baselineId, XmlElement xmlIshBaselineItem)
DateTime createdOn;
CreatedOn = NameHelper.TryParseDateTimeExact(xmlIshBaselineItem.Attributes["created"].Value, out createdOn) ? createdOn : DateTime.MinValue;
DateTime modifiedOn;
ModifiedOn = = NameHelper.TryParseDateTimeExact(xmlIshBaselineItem.Attributes["modified"].Value, out modifiedOn) ? modifiedOn : DateTime.MinValue;
ModifiedOn = NameHelper.TryParseDateTimeExact(xmlIshBaselineItem.Attributes["modified"].Value, out modifiedOn) ? modifiedOn : DateTime.MinValue;
}

/// <summary>
Expand Down

0 comments on commit f28070f

Please sign in to comment.