diff options
| author | JPVenson <github@jpb.email> | 2025-01-27 16:35:46 +0000 |
|---|---|---|
| committer | JPVenson <github@jpb.email> | 2025-01-27 16:35:46 +0000 |
| commit | 9d1c4ea169a15d580923aefb0ec43c2b6be5b3a6 (patch) | |
| tree | 609e013c4c4fd5ca6f151cca2950520bfb50df83 /Jellyfin.Server.Implementations/ValueConverters/DateTimeKindValueConverter.cs | |
| parent | aa811eb1e3c78bdf8f4a751311c1bb6d639e851e (diff) | |
Fixed DbContext usage on Provider
Diffstat (limited to 'Jellyfin.Server.Implementations/ValueConverters/DateTimeKindValueConverter.cs')
| -rw-r--r-- | Jellyfin.Server.Implementations/ValueConverters/DateTimeKindValueConverter.cs | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/Jellyfin.Server.Implementations/ValueConverters/DateTimeKindValueConverter.cs b/Jellyfin.Server.Implementations/ValueConverters/DateTimeKindValueConverter.cs deleted file mode 100644 index 2e585c92df..0000000000 --- a/Jellyfin.Server.Implementations/ValueConverters/DateTimeKindValueConverter.cs +++ /dev/null @@ -1,21 +0,0 @@ -using System; -using Microsoft.EntityFrameworkCore.Storage.ValueConversion; - -namespace Jellyfin.Server.Implementations.ValueConverters -{ - /// <summary> - /// ValueConverter to specify kind. - /// </summary> - public class DateTimeKindValueConverter : ValueConverter<DateTime, DateTime> - { - /// <summary> - /// Initializes a new instance of the <see cref="DateTimeKindValueConverter"/> class. - /// </summary> - /// <param name="kind">The kind to specify.</param> - /// <param name="mappingHints">The mapping hints.</param> - public DateTimeKindValueConverter(DateTimeKind kind, ConverterMappingHints? mappingHints = null) - : base(v => v.ToUniversalTime(), v => DateTime.SpecifyKind(v, kind), mappingHints) - { - } - } -} |
