Read the time when retrieving data from database.
All checks were successful
continuous-integration/drone/push Build is passing

The datetime format is SQLite, the function expected ISO 8601.
This commit is contained in:
tastytea 2019-08-07 20:39:12 +02:00
parent 82f471755e
commit 7143e09901
Signed by: tastytea
GPG Key ID: CFC39497F1B26E07

View File

@ -136,7 +136,7 @@ namespace remwharead
{
select.execute();
entrybuf.datetime = string_to_timepoint(datetime);
entrybuf.datetime = string_to_timepoint(datetime, true);
vector<string> tags;
size_t pos = 0;