Project

General

Profile

« Previous | Next » 

Revision 57655

modification to fit with the tree-dedup

View differences:

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