approximate date check now works properly