From 7a71e6f4146aab449928367b3a16e62d3d3ff8f9 Mon Sep 17 00:00:00 2001 From: "David A. Madore" Date: Sun, 26 Feb 2012 16:27:38 +0100 Subject: And change that stupid attribute name to "day-of-week" instead of "day_of_week". --- org/madore/damlengine/TodoEntryElement.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'org/madore') diff --git a/org/madore/damlengine/TodoEntryElement.java b/org/madore/damlengine/TodoEntryElement.java index d7a2aff..6ba7c5d 100644 --- a/org/madore/damlengine/TodoEntryElement.java +++ b/org/madore/damlengine/TodoEntryElement.java @@ -45,7 +45,7 @@ public final class TodoEntryElement extends TodoDefaultElement { String entryYearStr = entryDateMatcher.group(1); String entryMonthStr = entryDateMatcher.group(2); String entryDayStr = entryDateMatcher.group(3); - String entryDowStr = node.getAttributeNS(null, "day_of_week"); + String entryDowStr = node.getAttributeNS(null, "day-of-week"); { final int entryYear = Integer.parseInt(entryYearStr); final int entryMonth = Integer.parseInt(entryMonthStr); -- cgit v1.2.3