View | Details | Raw Unified | Return to bug 45398
Collapse All | Expand All

(-)./src/java/apache/poi/hssf/usermodel/HSSFDateUtil.java (-1 / +2 lines)
Lines 37-42 Link Here
37
 * @author  Hack Kampbjorn (hak at 2mba.dk)
37
 * @author  Hack Kampbjorn (hak at 2mba.dk)
38
 * @author  Alex Jacoby (ajacoby at gmail.com)
38
 * @author  Alex Jacoby (ajacoby at gmail.com)
39
 * @author  Pavel Krupets (pkrupets at palmtreebusiness dot com)
39
 * @author  Pavel Krupets (pkrupets at palmtreebusiness dot com)
40
 * @author   James May (james dot may at fmr dot com)
40
 */
41
 */
41
42
42
public class HSSFDateUtil
43
public class HSSFDateUtil
Lines 231-237 Link Here
231
    	// Otherwise, check it's only made up, in any case, of:
232
    	// Otherwise, check it's only made up, in any case, of:
232
    	//  y m d h s - / , . :
233
    	//  y m d h s - / , . :
233
    	// optionally followed by AM/PM
234
    	// optionally followed by AM/PM
234
    	if(fs.matches("^[yYmMdDhHsS\\-/,. :]+[ampAMP]*$")) {
235
    	if(fs.matches("^[yYmMdDhHsS\\-/,. :]+[ampAMP/]*$")) {
235
    		return true;
236
    		return true;
236
    	}
237
    	}
237
    	
238
    	

Return to bug 45398