Revision 57553
Added by Sandro La Bruzzo over 4 years ago
DumpToActionsUtility.java | ||
---|---|---|
47 | 47 |
} |
48 | 48 |
|
49 | 49 |
public static boolean isValidDate(final String date) { |
50 |
return date.matches("\\d{4}-\\d{2}-\\d{2}");
|
|
50 |
return date.matches("\\d{4}-\\d{1,2}-\\d{1,2}");
|
|
51 | 51 |
} |
52 | 52 |
|
53 | 53 |
public static FieldTypeProtos.StructuredProperty getPid(final JsonObject localIdentifier, final Map<String, ScholExplorerConfiguration> conf) { |
Also available in: Unified diff
fixed valid date Actions