File tree Expand file tree Collapse file tree
Orm/Xtensive.Orm.Sqlite/Sql.Drivers.Sqlite/v3 Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ internal class Compiler : SqlCompiler
2020 private const string DateWithZeroTimeFormat = "%Y-%m-%d 00:00:00.000" ;
2121#if NET6_0_OR_GREATER //DO_DATEONLY
2222 private const string DateFormat = "%Y-%m-%d" ;
23- private const string TimeFormat = "%H:%M:%f " ;
23+ private const string TimeFormat = "%H:%M:%f0000 " ;
2424 private const string TimeToStringFormat = "%H:%M:%f0000" ;
2525#endif
2626 private const string DateTimeFormat = "%Y-%m-%d %H:%M:%f" ;
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ internal class Translator : SqlTranslator
2828 public override string DateOnlyFormatString => @"\'yyyy\-MM\-dd\'" ;
2929
3030 /// <inheritdoc/>
31- public override string TimeOnlyFormatString => @"\'HH\:mm\:ss.fff \'" ;
31+ public override string TimeOnlyFormatString => @"\'HH\:mm\:ss.fffffff \'" ;
3232#endif
3333
3434 public virtual string DateTimeOffsetFormatString => @"\'yyyy\-MM\-dd HH\:mm\:ss.fffK\'" ;
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ internal class TypeMapper : Sql.TypeMapper
2626 private const string DateTimeOffsetFormat = "yyyy-MM-dd HH:mm:ss.fffK" ;
2727 private const string DateTimeFormat = "yyyy-MM-dd HH:mm:ss.fffffff" ;
2828 private const string DateFormat = "yyyy-MM-dd" ;
29- private const string TimeFormat = "HH:mm:ss.fff " ;
29+ private const string TimeFormat = "HH:mm:ss.fffffff " ;
3030
3131 public override object ReadBoolean ( DbDataReader reader , int index )
3232 {
You can’t perform that action at this time.
0 commit comments