0.13.1 修复datetime clone无效的bug
This commit is contained in:
@@ -21,7 +21,7 @@ allprojects {
|
||||
|
||||
subprojects {
|
||||
ext {
|
||||
version '0.13.0'
|
||||
version '0.13.1'
|
||||
spring_version = "2.3.0.RELEASE"
|
||||
}
|
||||
|
||||
|
||||
@@ -506,7 +506,7 @@ class DateTime() : Comparable<DateTime> {
|
||||
* @return 返回新的DateTime对象
|
||||
*/
|
||||
fun clone(): DateTime {
|
||||
return DateTime(this.calendar)
|
||||
return DateTime(this.calendar.clone() as Calendar)
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user