Resolve problem with bad values in modified and deleted fields.

Can result in deletion not functioning properly from task list.
pull/848/head
Chris Heywood 6 years ago
parent 19b7042469
commit c46b0d011e

@ -46,7 +46,7 @@ public abstract class DeletionDao {
} }
@Query("UPDATE tasks " @Query("UPDATE tasks "
+ "SET modified = datetime('now', 'localtime'), deleted = datetime('now', 'localtime') " + "SET modified = (strftime('%s','now')*1000), deleted = (strftime('%s','now')*1000)"
+ "WHERE _id IN(:ids)") + "WHERE _id IN(:ids)")
abstract void markDeletedInternal(List<Long> ids); abstract void markDeletedInternal(List<Long> ids);

Loading…
Cancel
Save