Skip to content

Commit

Permalink
[WIP]
Browse files Browse the repository at this point in the history
  • Loading branch information
vkhrystiuk-ks committed Dec 31, 2024
1 parent d5f14b3 commit d4192f7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions src/main/java/liqp/filters/date/fuzzy/Part.java
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ public String toString() {
}

class PunctuationPart extends NewPart {
public static final String punctuationChars = "-:., /";
public PunctuationPart(int start, int end, String source) {
super(start, end, source);
}
Expand Down
3 changes: 1 addition & 2 deletions src/main/java/liqp/filters/date/fuzzy/PartRecognizer.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package liqp.filters.date.fuzzy;

import static liqp.filters.date.fuzzy.Part.PunctuationPart.punctuationChars;
import static liqp.filters.date.fuzzy.extractors.Extractors.allYMDPatternExtractor;
import static liqp.filters.date.fuzzy.extractors.Extractors.fullWeekdaysExtractor;
import static liqp.filters.date.fuzzy.extractors.Extractors.monthDateExtractor;
Expand All @@ -21,8 +22,6 @@

public class PartRecognizer {

private static final String punctuationChars = "-:., /";

List<Part> recognizePart(List<Part> parts, DatePatternRecognizingContext ctx) {

if (notSet(ctx.weekDay)) {
Expand Down

0 comments on commit d4192f7

Please sign in to comment.