Skip to content

Commit

Permalink
fix typo on hasOffset variable (#1458)
Browse files Browse the repository at this point in the history
  • Loading branch information
sehested authored and Ron Petrusha committed Sep 11, 2019
1 parent 7c26bc0 commit b3237b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion winforms/formatting-utility/cs/Form1.cs
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ private void OKButton_Click(object sender, EventArgs e)
}
}
// Format date value.
this.Result.Text = (hasOffet ? dto : dat).ToString(this.FormatStrings.Text, culture);
this.Result.Text = (hasOffset ? dto : dat).ToString(this.FormatStrings.Text, culture);
}
else {
// Handle formatting of a number.
Expand Down

0 comments on commit b3237b2

Please sign in to comment.