Cases being "updated" in the future due to inaccurate date on phone

I recently downloaded a case export and noticed that a number of cases were
missing from the file. I looked them up on the Case List and found the
reason - the cases were "updated" in 2019! I guess that the date on the
user's phone was accidentally set to 2019 and that date was used to update
the system property. Because there's now a date modified filter for all
case exports, this resulted in cases not appearing, because they were
modified outside of the date range specified.

Is there any way of preventing this kind of error? I assumed that CommCare
would use its own dates, rather than those provided by users, for updating
system properties. Dates on phones are often wrong, and while we try to
catch this, it's not always possible.

Eric,

Unfortunately CommCare has no better source of truth for the current time
than the one provided by the Android OS (and configurable by the user). You
can read some in-depth discussion of this issue he
https://groups.google.com/forum/#!searchin/commcare-users/time|sort:date/commcare-users/773thNrQglI/kx9ouS_KBgAJ
re
https://groups.google.com/forum/#!searchin/commcare-users/time|sort:date/commcare-users/773thNrQglI/kx9ouS_KBgAJ,
with Clayton's first response in particular giving best practices.

Cheers,
Will

ยทยทยท On Thu, Mar 2, 2017 at 4:28 PM, Eric Jospe wrote:

I recently downloaded a case export and noticed that a number of cases
were missing from the file. I looked them up on the Case List and found the
reason - the cases were "updated" in 2019! I guess that the date on the
user's phone was accidentally set to 2019 and that date was used to update
the system property. Because there's now a date modified filter for all
case exports, this resulted in cases not appearing, because they were
modified outside of the date range specified.

Is there any way of preventing this kind of error? I assumed that CommCare
would use its own dates, rather than those provided by users, for updating
system properties. Dates on phones are often wrong, and while we try to
catch this, it's not always possible.

--
You received this message because you are subscribed to the Google Groups
"commcare-users" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to commcare-users+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.