Commit b9e28842 authored by Ricki Hirner's avatar Ricki Hirner

Use real UTC for calendar-query REPORTs

parent ca6dc8a8
Pipeline #19694599 passed with stages
in 2 minutes and 53 seconds
buildscript {
ext.kotlin_version = '1.2.31'
ext.dokka_version = '0.9.15'
ext.dokka_version = '0.9.16'
repositories {
jcenter()
......
......@@ -26,9 +26,12 @@ class DavCalendar @JvmOverloads constructor(
companion object {
val MIME_ICALENDAR = MediaType.parse("text/calendar")
val MIME_ICALENDAR_UTF8 = MediaType.parse("text/calendar;charset=utf-8")
}
private val timeFormatUTC = SimpleDateFormat("yyyyMMdd'T'HHmmss'Z'", Locale.US)
private val timeFormatUTC = SimpleDateFormat("yyyyMMdd'T'HHmmss'Z'", Locale.US)
init {
timeFormatUTC.timeZone = TimeZone.getTimeZone("UTC")
}
}
/**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment