Date and Time Bugs to Test For in Android Apps

A real future-dated-trip bug, why hard-coded test dates go stale, and a checklist of date edge cases worth scripting.

Why Date Logic Is an Easy Blind Spot

Date bugs rarely crash an app. They produce an answer that's wrong in a way nobody notices unless they already know what the right answer should be — which makes them a common finding in manual testing precisely because they're easy to walk past.

The Bug: Future Trips Saved as Past Stays

We found this while scenario-testing Europe Stay Tracker, our Schengen 90/180-day calculator app. The app lets you log trips and calculates how many days you have left under the 90-in-180 rule. One scripted journey logged a trip dated in the future — a trip you're planning but haven't taken yet.

The app saved it as a past stay and included it in the running 90/180 calculation as if it had already happened. For an app whose entire purpose is getting that day-count right, a bug that silently misclassifies a future trip as a past one is exactly the kind of thing that erodes trust in the number on screen — without ever throwing an error.

Screenshot placeholder: the trip entry screen with a future-dated trip, and the resulting day-count before the fix. To be supplied by the owner.

It was fixed in the next build, and the re-test confirmed the fix: the same journey, re-run on the new build, correctly excluded the future trip from the past-stays calculation.

Why Hard-Coded "Today" Dates Go Stale

A related trap, this time on the testing side rather than the app side: if a test plan hard-codes a specific date ("enter a trip starting 15 March 2026"), that test plan quietly stops exercising "future date" and "past date" logic correctly once real time moves past the hard-coded date. Reading today's date from the device at test time, rather than writing a fixed date into the test plan, keeps date-boundary tests meaningful indefinitely instead of needing to be rewritten every few months.

A Checklist of Date Edge Cases to Script

  • A date in the future, where the app's logic assumes past-only data
  • A date exactly on a boundary (today, the first/last day of a date range, a rolling window's edge)
  • A date range that spans a boundary the app calculates against (like a rolling 180-day window)
  • Leap years and month-length edge cases (29 Feb, 30 vs 31-day months)
  • Device timezone and locale date-format changes
  • Test plans that read "today" dynamically rather than using a fixed date

This is one of the checks we run as part of every scripted-journey pass — see the full pre-release testing checklist for the rest. If you want this kind of check run against your own app, see our QA testing service.

Redrip Solutions

Written by the Redrip Solutions QA testing team.

Keep Reading

How to Test an Android App Before Release: A Practical Checklist

Read →

Silent Input Truncation: The Bug Pattern Hiding in Your Text Fields

Read →

Catch These Before Your Users Do

AI-tested, human-reviewed QA reports for Android apps — scripted journeys, exploratory testing, accessibility checks, across device configurations.