Local time rendering for events.

This commit is contained in:
Burak Kaan Köse
2025-07-07 21:03:07 +02:00
parent 1ee0063b62
commit 03c9ac1e11
9 changed files with 136 additions and 41 deletions

View File

@@ -71,7 +71,7 @@ public class CalendarItem : ICalendarItem
/// <summary>
/// The type of calendar item (Timed, AllDay, MultiDay, etc.)
/// </summary>
public CalendarItemType ItemType { get; set; } = CalendarItemType.Timed;
public CalendarItemType ItemType { get; set; }
/// <summary>
/// Automatically determines and sets the ItemType based on event properties

View File

@@ -1,9 +1,13 @@
namespace Wino.Core.Domain.Interfaces;
using System;
namespace Wino.Core.Domain.Interfaces;
/// <summary>
/// Temporarily to enforce CalendarItemViewModel. Used in CalendarEventCollection.
/// </summary>
public interface ICalendarItemViewModel
public interface ICalendarItemViewModel : ICalendarItem
{
bool IsSelected { get; set; }
DateTime LocalStartDateTime { get; }
DateTime LocalEndDateTime { get; }
}