mirror of
https://github.com/Kunzisoft/KeePassDX.git
synced 2025-12-04 15:49:33 +01:00
Set date time from string
This commit is contained in:
@@ -136,7 +136,11 @@ class DateTimeFieldView @JvmOverloads constructor(context: Context,
|
|||||||
return if (activation) dateTime.toString() else ""
|
return if (activation) dateTime.toString() else ""
|
||||||
}
|
}
|
||||||
set(value) {
|
set(value) {
|
||||||
// TODO set date time string value
|
mDateTime = try {
|
||||||
|
DateInstant(value)
|
||||||
|
} catch (e: Exception) {
|
||||||
|
DateInstant.NEVER_EXPIRES
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
override var isFieldVisible: Boolean
|
override var isFieldVisible: Boolean
|
||||||
|
|||||||
Reference in New Issue
Block a user