ical4android b520b3f2b2

pull/1122/head
Alex Baker 4 years ago
parent 1d2bd5ea17
commit 5760c44df5

@ -144,7 +144,7 @@ val googleplayImplementation by configurations
dependencies {
coreLibraryDesugaring("com.android.tools:desugar_jdk_libs:1.0.9")
implementation("com.gitlab.bitfireAT:dav4jvm:2.1.1")
implementation("com.gitlab.bitfireAT:ical4android:a675c7194b")
implementation("com.gitlab.bitfireAT:ical4android:b520b3f2b2")
implementation("com.gitlab.bitfireAT:cert4android:1488e39a66")
implementation("com.github.dmfs.opentasks:opentasks-provider:1.2.4") {
exclude("com.github.dmfs.opentasks", "opentasks-contract")

@ -109,7 +109,7 @@ public class CaldavConverter {
remote.setDescription(task.getNotes());
if (task.hasDueTime()) {
net.fortuna.ical4j.model.TimeZone tz =
DateUtils.INSTANCE.getTzRegistry().getTimeZone(TimeZone.getDefault().getID());
DateUtils.INSTANCE.ical4jTimeZone(TimeZone.getDefault().getID());
DateTime dateTime = new DateTime(tz != null
? task.getDueDate()
: new org.tasks.time.DateTime(task.getDueDate()).toUTC().getMillis());

Loading…
Cancel
Save