Based on the knowledge sources provided, I don't have specific information about the exact logic Mixpanel uses for the time periods "yesterday" and "last 1 day." The documents don't contain details about how these specific time periods are calculated or defined in Mixpanel.
While the knowledge sources do mention various time-related concepts like query time sampling, retention calculations, and time period comparisons, they don't explicitly explain the difference between "yesterday" and "last 1 day" in Mixpanel's interface.
If you need to understand the exact logic for these time periods, I'd recommend:
1. Checking Mixpanel's official documentation for time period definitions
2. Contacting Mixpanel support for clarification
3. Testing the behavior in your Mixpanel account to observe how these time periods are calculated