code: def caleom(date):
          
          date = parsefun(date)
          date += datetime.timedelta(days=32-date.day)
          date -= datetime.timedelta(days=date.day)
          return date
docs: Adjust date to last day of the month, regardless of work days.
  
          Args:
              date (date, datetime or str): Date to be adjusted.
  
          Returns:
              datetime: Adjusted date.