Skip to content

Commit

Permalink
CalDateTime.ToTimeZone param is nullable.
Browse files Browse the repository at this point in the history
  • Loading branch information
minichma committed Jan 23, 2025
1 parent 708bc0a commit 1679c9f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Ical.Net/DataTypes/CalDateTime.cs
Original file line number Diff line number Diff line change
Expand Up @@ -457,7 +457,7 @@ public DateTime Value
/// it means that the <see cref="Value"/> is considered as local time for every timezone:
/// The returned <see cref="Value"/> is unchanged and the <see paramref="otherTzId"/> is set as <see cref="TzId"/>.
/// </summary>
public CalDateTime ToTimeZone(string otherTzId)
public CalDateTime ToTimeZone(string? otherTzId)
{
if (otherTzId is null)
return new CalDateTime(Value, null, HasTime);
Expand Down

0 comments on commit 1679c9f

Please sign in to comment.