Changeset 210 for trunk/grails-app/domain/TaskModification.groovy
- Timestamp:
- Dec 2, 2009, 5:26:54 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/domain/TaskModification.groovy
r187 r210 1 import java.text.SimpleDateFormat2 3 1 class TaskModification { 4 2 Person person … … 19 17 20 18 String toString() { 21 def date = new SimpleDateFormat("EEE, dd-MMM-yyyy").format(this.date) 22 "${taskModificationType} on ${date} by ${person}." 19 "${taskModificationType} on ${date.format('EEE, dd-MMM-yyyy')} by ${person}." 23 20 } 24 21 }
Note: See TracChangeset
for help on using the changeset viewer.