Skip to content

Commit 10d7272

Browse files
authored
Update ndt.go
1 parent 1a79c2f commit 10d7272

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

parser/ndt.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ const (
3939
//=========================================================================
4040

4141
// TODO - should this be optional?
42-
const dateDir = `^(?P<dir>\d{4}/\d{2}/\d{2}/)?`
42+
const dateDir = `^(./)?(?P<dir>\d{4}/\d{2}/\d{2}/)?`
4343

4444
// TODO - use time.Parse to parse this part of the filename.
4545
const dateField = `(?P<date>\d{8})`

0 commit comments

Comments
 (0)