mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-07-19 20:54:20 +01:00
Enable nullable for Jellyfin.Server.Implementations
This commit is contained in:
@@ -13,9 +13,9 @@ namespace Jellyfin.Server.Implementations.ValueConverters
|
||||
/// </summary>
|
||||
/// <param name="kind">The kind to specify.</param>
|
||||
/// <param name="mappingHints">The mapping hints.</param>
|
||||
public DateTimeKindValueConverter(DateTimeKind kind, ConverterMappingHints mappingHints = null)
|
||||
public DateTimeKindValueConverter(DateTimeKind kind, ConverterMappingHints? mappingHints = null)
|
||||
: base(v => v.ToUniversalTime(), v => DateTime.SpecifyKind(v, kind), mappingHints)
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user