What would be the best approach to handle a wrong date and time on a device when dealing with data that is dependent, for example, on the current date?
Let's say you have a next and previous object ordered by the date on the server, but you must sort those objects later on, on a different screen based on the current date (which is local), how to deal with this?
I see that apps like Facebook, Skype, use the device's date and make calculations based on that. For example in the Facebook app, if you set the device's date in the past, all the posts from the past date to the real one will be marked as "Just now".
I'm quite puzzled about a best practice on this matter, if you could help me with some advice, I'd be grateful.