Page 1 of 1

Saving time with . as separator 2

Posted: Wed 15 Dec 2021 12:18
by davor.TCS
Hello,

Regarding post: viewtopic.php?f=48&t=30436
I have updated SQLite to latest version 5.0.2.
If time on Windows/Android is set to hh.nn.ss with . as separator, minutes and seconds are 0.

I have used as advised:

Code: Select all

var
  FS: TFormatSettings;
begin
  FS:= TFormatSettings.Create;
  if FS.TimeSeparator = '.' then LiteConn.Options.TimeFormat:='hh.nn.ss';
  ...
end;
but then I get minutes resolved but seconds are now 0? Like it is some Short/Long Time Format issue?

Best regards

Re: Saving time with . as separator 2

Posted: Wed 29 Dec 2021 18:24
by MaximG
Thank you for the information. Please send us a sample project where the issue can be reproduced. For your convenience, please use the e-support form https://www.devart.com/company/contactform.html

Re: Saving time with . as separator 2

Posted: Tue 11 Jan 2022 17:44
by davor.TCS
No problem, I have sent you a small project, but be advised. To view problem, you must save Now value and then restart application.
If I created "now" value record as 18.37.43, next time when I run app it will be shown as 18.37.00.

Re: Saving time with . as separator 2

Posted: Wed 12 Jan 2022 17:06
by MaximG
Thank you for the information. We will investigate the described issue and let you know the results shortly.

Re: Saving time with . as separator 2

Posted: Sun 23 Jan 2022 09:28
by davor.TCS
Hello, I have received yours reply (but it went to spam) so today I have sent you a new email. Please, take care to set testing environment in yours Windows according to problem.

Re: Saving time with . as separator 2

Posted: Wed 26 Jan 2022 11:29
by MaximG
We have reproduced the issue and will investigate its origin.