Skip to content

Commit

Permalink
fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
rsoika committed Mar 10, 2018
1 parent a27716b commit 2e63cc0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -274,14 +274,14 @@ public ItemCollection process(final ItemCollection workitem) throws PluginExcept

// now process all events defined by the model
while (documentResult.getItemValueInteger(ACTIVITYID) > 0) {
// set $lastEventDate
documentResult.replaceItemValue("$lastEventDate", new Date());
// load event...
ItemCollection event = loadEvent(documentResult);
documentResult = processEvent(documentResult, event);
documentResult = updateEventList(documentResult);
}

// set $lastEventDate
documentResult.replaceItemValue("$lastEventDate", new Date());

return documentResult;
}
Expand Down
2 changes: 1 addition & 1 deletion src/site/markdown/engine/adapttext.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ This example extract the last value of the mulit-value item '_parts'.
### Format date/number values by locale
To format a date or number value into a language specific format the tags '_format_' and '_locale_' can be used. The following example shows how to format a date value into the German date format:

The Date in german format is: <itemvalue format=\"EEEE, d. MMMM yyyy\" locale=\"de_DE\">datdate</itemvalue>.";
The Date in german format is: <itemvalue format="EEEE, d. MMMM yyyy" locale="de_DE">datdate</itemvalue>.";


## Adapting Property Values
Expand Down

0 comments on commit 2e63cc0

Please sign in to comment.