mirror of
https://github.com/tencentmusic/supersonic.git
synced 2025-12-10 19:51:00 +00:00
(improvement)(headless) Fix time dimension creating (#1586)
Co-authored-by: lxwcodemonkey
This commit is contained in:
@@ -9,7 +9,7 @@ public enum DimensionType {
|
||||
|
||||
public static boolean isTimeDimension(String type) {
|
||||
try {
|
||||
return isTimeDimension(DimensionType.valueOf(type.toUpperCase()));
|
||||
return isTimeDimension(DimensionType.valueOf(type.toLowerCase()));
|
||||
} catch (IllegalArgumentException e) {
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user