Local time rendering for events.
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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; }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user