Simplified date formatting code
implementation for yesterdays mood completed