<commit_before>using System.Collections.Generic;
using scheduler.Models.DatabaseModels;
using scheduler.Models.SchedulerViewModels;

namespace scheduler.Mappers
{
    public static class EventViewModelMapper
    {
        public static EventViewModel MapFrom(Event eventModel, List<string> inviteeEmails)
        {
            var inviteeEmailList = string.Join(", ", inviteeEmails.ToArray());

            return new EventViewModel
            {
                EventId = eventModel.Id,
                EventTitle = eventModel.Title,
                EventDescription = eventModel.Description,
                InviteeEmails = inviteeEmailList,
                StartDate = eventModel.StartTime.ToString("d"),
                EndDate = eventModel.EndTime.ToString("d"),
                StartTime = eventModel.StartTime.ToString("t"),
                EndTime = eventModel.EndTime.ToString("t")
            };
        }
    }
}<commit_msg>fixed formatting for viewmodel to accurately show data in form<commit_after>using System.Collections.Generic;
using scheduler.Models.DatabaseModels;
using scheduler.Models.SchedulerViewModels;

namespace scheduler.Mappers
{
    public static class EventViewModelMapper
    {
        public static EventViewModel MapFrom(Event eventModel, List<string> inviteeEmails)
        {
            var inviteeEmailList = string.Join(", ", inviteeEmails.ToArray());

            return new EventViewModel
            {
                EventId = eventModel.Id,
                EventTitle = eventModel.Title,
                EventDescription = eventModel.Description,
                InviteeEmails = inviteeEmailList,
                StartDate = eventModel.StartTime.ToString("yyyy-MM-dd"),
                EndDate = eventModel.EndTime.ToString("yyyy-MM-dd"),
                StartTime = eventModel.StartTime.ToString("HH:mm"),
                EndTime = eventModel.EndTime.ToString("HH:mm")
            };
        }
    }
}
{'fraction_non_alphanumeric': 0.08637532133676093, 'fraction_numerical': 0.0, 'mean_word_length': 2.243333333333333, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '221168', 'n_tokens_mistral': 504, 'n_tokens_neox': 479, 'n_words': 93}