We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cd3fc04 commit bfa41beCopy full SHA for bfa41be
src/NHibernate/Type/TimeAsTimeSpanType.cs
@@ -46,6 +46,8 @@ public override object Get(DbDataReader rs, int index, ISessionImplementor sessi
46
if (value is TimeSpan time) //For those dialects where DbType.Time means TimeSpan.
47
return time;
48
49
+ // Todo: investigate if this convert should be made culture invariant, here and in other NHibernate types,
50
+ // such as AbstractDateTimeType and TimeType, or even in all other places doing such converts in NHibernate.
51
var dbValue = Convert.ToDateTime(value);
52
return dbValue.TimeOfDay;
53
}
0 commit comments