Apple Event: May 7th at 7 am PT

Unable to reset "Contact Smart Group" on iMac with macOS Monterey

I have the following Contacts SmartGroup


Birthday Soon

Birthday is in the next 1 day



It finds some cards with birthdays within the next day but not others. It I change the condition to Birthday is set, these missing cards are found.


It used to find all birthdays within the next day.


Why did it stop?


Is there a way to reset a SmartGroup? I tried deleting Birthday Soon and creating a new SmartGroup with a different name, but the new one also does not find the same cards.


[Re-Titled by Moderator]

iMac 27″, macOS 12.7

Posted on Mar 2, 2024 1:51 AM

Reply
Question marked as Best reply

Posted on Mar 2, 2024 8:24 AM

Rebuild your spotlight index.

Make sure none of your contacts uses a European date format for their birthday.


April 12 and December 4th are the same numbers in US and European date formatting.

5 replies

Mar 3, 2024 2:13 AM in response to a brody

@A Brody


I’m running macOS 12.7.3 Monterey on an iMac (Retina 5K, 27-inch, Late 2015)


I followed these instructions to rebuild the Spotlight index:


Rebuild the Spotlight index on your Mac - Apple Support


And apparently the index is now being rebuilt:



I’ll check and report back later once the rebuild is finished.


As far as I know, all dates were entered using US format (mm-dd-yyyy where year is optional).


However, when I opened terminal it showed this “illegal time format” error:


Last login: Fri Jan 5 12:12:44 on ttys000

The default interactive shell is now zsh.
To update your account to use zsh, please run `chsh -s /bin/zsh`.
For more details, please visit https://support.apple.com/kb/HT208050.
Argus-2:~ nello$ 
 [Restored Mar 3, 2024 at 3:46:46 AM]
Last login: Tue Feb 27 09:49:50 on console
date: illegal time format
usage: date [-jnRu] [-r seconds|file] [-v[+|-]val[ymwdHMS]]
      [-I[date | hours | minutes | seconds]]
      [-f fmt date | [[[mm]dd]HH]MM[[cc]yy][.ss]] [+format]
-bash: Saving: command not found

The default interactive shell is now zsh.
To update your account to use zsh, please run `chsh -s /bin/zsh`.
For more details, please visit https://support.apple.com/kb/HT208050.


The date Feb 27 is interesting because that’s about the time that my Smart Group was last working. (Perhaps, the next time it ran, Feb 28, “in the next 1 day” might have included Feb 29).


Is it possible that I’ve run into a leap-year problem, or is date wonkiness occurring near February 29 just a coincidence?


Thank you.

Mar 4, 2024 12:26 AM in response to a brody

Rebuilding the Spotlight index seemed to help.


Unfortunately, a few contacts still are not found by my “Birthday Soon” Contact Smart Group (the rule for which is in my original post above).


Yes, I’ve tried re-entering the birthday on the missing Contact Cards in order to remove any data corruption. Yes, the text on the missing Cards is correct so I presume that the date is parsing correctly. For example, today is March 4, which is the Birthday on today’s sole missing Card, as you can see from this screenshot snippet of the Card’s dates:



Can you think of any other things that I can do to reset this Contact Smart Group?


Thank you.

Mar 22, 2024 3:43 AM in response to a brody

Even after rebuilding the Spotlight index and updating to macOS 12.7.4, the Contact Smart Group Birthday Soon is still not working consistently correctly.


Specifically, the Smart Group is supposed to select Cards within on day of their birthday. But some Cards are included in Birthday Soon up to two days before the person’s birthday and some Cards are not included on the actual month and day of their birthday.


It is as if for some Cards, Birthday Soon is comparing tomorrow’s date to the Card’s birthday instead of comparing today’s date to the Card’s birthday.


How can I determine why Birthday Soon excludes some Cards on the day of their birthday?


Thank you.

Unable to reset "Contact Smart Group" on iMac with macOS Monterey

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.