feat(core/network): DTSTART (startRaw) в DavTask — для умных списков Tasks (запрос b-mob-tasks mail/080)

This commit is contained in:
b-dev-mobile
2026-07-12 22:32:13 +00:00
parent 3c59414345
commit 2cb7a9a470
@@ -75,6 +75,8 @@ data class DavTask(
val status: String,
val due: String,
val dueRaw: String,
/** DTSTART задачи (сырой ICS). Нужен «умным спискам» Tasks (Текущие/Сегодня/На неделе). */
val startRaw: String = "",
val priority: Int,
val percentComplete: Int,
val description: String,
@@ -1188,6 +1190,7 @@ object CalDavClient {
status = status,
due = formatIcsDateTime(dueRaw),
dueRaw = dueRaw,
startRaw = extractIcs(icsDtStart, ics),
priority = extractIcs(icsPriority, ics).toIntOrNull() ?: 0,
percentComplete = percent,
description = extractIcs(icsDescription, ics),