0.13.1 修复datetime clone无效的bug

This commit is contained in:
2021-06-11 11:13:04 +08:00
parent e2731bbe2c
commit 30b88714d2
2 changed files with 2 additions and 2 deletions

View File

@@ -21,7 +21,7 @@ allprojects {
subprojects {
ext {
version '0.13.0'
version '0.13.1'
spring_version = "2.3.0.RELEASE"
}

View File

@@ -506,7 +506,7 @@ class DateTime() : Comparable<DateTime> {
* @return 返回新的DateTime对象
*/
fun clone(): DateTime {
return DateTime(this.calendar)
return DateTime(this.calendar.clone() as Calendar)
}
/**