summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid A. Madore <david+git@madore.org>2012-02-26 16:27:38 +0100
committerDavid A. Madore <david+git@madore.org>2012-02-26 16:27:38 +0100
commit7a71e6f4146aab449928367b3a16e62d3d3ff8f9 (patch)
tree0a4affa0467f82dff5f7e9c3aaaeeb113ccf5095
parent7f163c200f7da4a91c0d4dee325752018f821dad (diff)
downloaddamlengine-7a71e6f4146aab449928367b3a16e62d3d3ff8f9.tar.gz
damlengine-7a71e6f4146aab449928367b3a16e62d3d3ff8f9.tar.bz2
damlengine-7a71e6f4146aab449928367b3a16e62d3d3ff8f9.zip
And change that stupid attribute name to "day-of-week" instead of "day_of_week".
-rw-r--r--org/madore/damlengine/TodoEntryElement.java2
1 files changed, 1 insertions, 1 deletions
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);