|
|
@ -13,9 +13,9 @@ namespace Jellyfin.Server.Implementations.ValueConverters
|
|
|
|
/// </summary>
|
|
|
|
/// </summary>
|
|
|
|
/// <param name="kind">The kind to specify.</param>
|
|
|
|
/// <param name="kind">The kind to specify.</param>
|
|
|
|
/// <param name="mappingHints">The mapping hints.</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)
|
|
|
|
: base(v => v.ToUniversalTime(), v => DateTime.SpecifyKind(v, kind), mappingHints)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|