|
|
@ -348,13 +348,13 @@ namespace Apewer |
|
|
|
{ |
|
|
|
if (string.IsNullOrEmpty(text)) return null; |
|
|
|
|
|
|
|
// 使用默认解析。
|
|
|
|
if (TryParse(text, out DateTime system)) return new Class<DateTime>(system); |
|
|
|
|
|
|
|
// 尝试解析 Lucid 格式。
|
|
|
|
var lucid = ParseLucid(text); |
|
|
|
if (lucid != null) return lucid; |
|
|
|
|
|
|
|
// 使用默认解析。
|
|
|
|
if (TryParse(text, out DateTime system)) return new Class<DateTime>(system); |
|
|
|
|
|
|
|
return null; |
|
|
|
} |
|
|
|
|
|
|
|