openScale icon indicating copy to clipboard operation
openScale copied to clipboard

Date and Time without filling

Open ddelaqua opened this issue 1 year ago • 13 comments

Describe the bug In the "Table" tab, the Date and Time values ​​are not populated, even though they contain values ​​within the "Edit Measurement" screen. Furthermore, the values ​​entered in the "Time" field are not correct. For example, in the image below, the times show approximately 10:00, but the measurements are always taken around 7:00.

Image

To Reproduce Steps to reproduce the behavior:

  1. Go to "Table" tab

Reproduced with: openScale 3.0 beta build (commit ef75860)

ddelaqua avatar Sep 23 '25 13:09 ddelaqua

The date und time column should be fixed (not needed as the first column has already the date and time) but I cannot reproduce the error that the time is incorrect. How did you create these measurements? Manuel or by a Bluetooth scale (which one)? In which time zone are you located?

oliexdev avatar Sep 23 '25 18:09 oliexdev

Honestly, I reported the lack of data in the Date and Time columns just for the record, as they were empty. I only identified this "problem" when I saw that the reading time was different from the time recorded in OpenScale. So I went to the "Table" tab to try to understand and saw both columns blank. I agree that if these two columns didn't exist, there wouldn't be a problem.

All measurements were imported from the Mi Body Composition Scale 2 and haven't been edited in any way.

I'm in the UTC -3 time zone.

ddelaqua avatar Sep 23 '25 19:09 ddelaqua

are these new measurements with the mi scale 2 or history times? what happen if you manuelly add a new measuremnt do you see also a difference in the time?

oliexdev avatar Sep 27 '25 16:09 oliexdev

are these new measurements with the mi scale 2 or history times?

There are indeed measurements imported from .csv files in the application, however, all the measurements visible in the image were taken on the Mi Body Composition Scale 2 and imported into openScale

what happen if you manuelly add a new measuremnt do you see also a difference in the time?

I tested it by taking the measurement and importing it into OpenScale, then manually recording it by clicking the "Add" button and saving it, without editing anything. The date saved in the scale measurement was again 3 hours later. The manual entry date was recorded exactly as shown on the smartphone.

ddelaqua avatar Sep 29 '25 12:09 ddelaqua

There are indeed measurements imported from .csv files in the application, however, all the measurements visible in the image were taken on the Mi Body Composition Scale 2 and imported into openScale

how did you imported the data into openScale? via CSV via backup file?

I tested it by taking the measurement and importing it into OpenScale, then manually recording it by clicking the "Add" button and saving it, without editing anything. The date saved in the scale measurement was again 3 hours later. The manual entry date was recorded exactly as shown on the smartphone.

I don't get it please provide a log file and then write down step by step what you exactly did.

oliexdev avatar Sep 29 '25 15:09 oliexdev

There are indeed measurements imported from .csv files in the application, however, all the measurements visible in the image were taken on the Mi Body Composition Scale 2 and imported into openScale

how did you imported the data into openScale? via CSV via backup file?

All the measurements visible in the image that opened this issue were taken directly on the scale and entered into OpenScale via Bluetooth synchronization.

My complete history includes measurements that were imported from a v3.0 .csv file that I updated by inserting manually values ​​from v2.5.4.

I tested it by taking the measurement and importing it into OpenScale, then manually recording it by clicking the "Add" button and saving it, without editing anything. The date saved in the scale measurement was again 3 hours later. The manual entry date was recorded exactly as shown on the smartphone.

I don't get it please provide a log file and then write down step by step what you exactly did.

Here the log openScale_current_log.txt

I don't quite understand the entire log, but I think the problem might be with the information on line 121 "dateTime=Wed Oct 01 10:27:00 GMT-03:00 2025".

In fact, the synchronization between the scale and openScale occurred right after the measurement on the scale, around 7:27 AM.

ddelaqua avatar Oct 01 '25 16:10 ddelaqua

please try out the latest beta build and post the log file including a screenshot what is shown in the app and your current real time on the smartphone.

oliexdev avatar Oct 01 '25 17:10 oliexdev

After the last update, the issue no more happens. Thanks

ddelaqua avatar Oct 03 '25 12:10 ddelaqua

please try out the latest beta build and post the log file including a screenshot what is shown in the app and your current real time on the smartphone.

OpenScale again showed a difference between the actual time and the time recorded by the measurement. The screenshot didn't show the time (I tried capturing it using the physical button combination and the notification shortcut, both of which hid the time), but I can confirm that it was 7:22 AM. OpenScale continues to record +3 hours in the measurements. Image

The scale is the Mi Body Composition Scale. I'm using OpenScale v3.0 (b8a8853).

The log file openScale_current_log.txt

ddelaqua avatar Oct 13 '25 12:10 ddelaqua

strange, it is hard here to recreate this issue. Could you post or send me your exported database? Which timezone is your phone configured? When you create manually with the plus a new measurement. Is then everything ok?

oliexdev avatar Oct 18 '25 09:10 oliexdev

strange, it is hard here to recreate this issue. Could you post or send me your exported database? Which timezone is your phone configured? When you create manually with the plus a new measurement. Is then everything ok?

My time zone is (GMT-3) and when I create a new record manually by clicking the "plus" button, the time that appears in the "Time" field is the correct time that appears on my smartphone. I'm sending you the full backup file by email.

ddelaqua avatar Oct 21 '25 12:10 ddelaqua

please try out the latest beta version again

oliexdev avatar Nov 09 '25 11:11 oliexdev

The last import correctly recorded the measurement time.

ddelaqua avatar Nov 11 '25 12:11 ddelaqua