mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-14 18:57:39 -07:00
fixed calendar view
This commit is contained in:
parent
70cfa5e685
commit
aca5d1f361
6 changed files with 51 additions and 20 deletions
|
@ -13,6 +13,11 @@ namespace NzbDrone.Core.Datastore.Converters
|
|||
|
||||
public object ToDB(object clrValue)
|
||||
{
|
||||
if (clrValue == DBNull.Value)
|
||||
{
|
||||
return clrValue;
|
||||
}
|
||||
|
||||
var dateTime = (DateTime)clrValue;
|
||||
return dateTime.ToUniversalTime();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue