- Timestamp:
- Apr 28, 2011, 5:40:44 PM (14 years ago)
- Location:
- branches/features/grailsUpgrade/grails-app/controllers
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/features/grailsUpgrade/grails-app/controllers/AssetDetailedController.groovy
r885 r911 164 164 if(params?.format && params.format != "html") { 165 165 166 def dateFmt = { d ate ->167 formatDate(format: "EEE, dd-MMM-yyyy", date: date)166 def dateFmt = { domain, value -> 167 formatDate(format: "EEE, dd-MMM-yyyy", date: value) 168 168 } 169 169 170 // def fmtAsset = { m ->170 // def fmtAsset = { d, m -> 171 171 // def r = '' 172 172 // def assetInstance = Asset.findByName(m) … … 184 184 // } 185 185 186 // def fmtSubAsset = { m ->186 // def fmtSubAsset = { d, m -> 187 187 // def r = '' 188 188 // m.each() { -
branches/features/grailsUpgrade/grails-app/controllers/AssetSubItemDetailedController.groovy
r658 r911 60 60 if(params?.format && params.format != "html") { 61 61 62 def dateFmt = { d ate ->63 formatDate(format: "EEE, dd-MMM-yyyy", date: date)62 def dateFmt = { domain, value -> 63 formatDate(format: "EEE, dd-MMM-yyyy", date: value) 64 64 } 65 65 -
branches/features/grailsUpgrade/grails-app/controllers/InventoryItemDetailedController.groovy
r727 r911 292 292 if(params?.format && params.format != "html") { 293 293 294 def dateFmt = { d ate ->295 formatDate(format: "EEE, dd-MMM-yyyy", date: date)294 def dateFmt = { domain, value -> 295 formatDate(format: "EEE, dd-MMM-yyyy", date: value) 296 296 } 297 297 … … 646 646 if(params?.format && params.format != "html") { 647 647 648 def dateFmt = { d ate ->649 formatDate(format: "EEE, dd-MMM-yyyy", date: date)648 def dateFmt = { domain, value -> 649 formatDate(format: "EEE, dd-MMM-yyyy", date: value) 650 650 } 651 651 -
branches/features/grailsUpgrade/grails-app/controllers/InventoryItemPurchaseDetailedController.groovy
r717 r911 142 142 if(params?.format && params.format != "html") { 143 143 144 def dateFmt = { d ate ->145 formatDate(format: "EEE, dd-MMM-yyyy", date: date)144 def dateFmt = { domain, value -> 145 formatDate(format: "EEE, dd-MMM-yyyy", date: value) 146 146 } 147 147 -
branches/features/grailsUpgrade/grails-app/controllers/TaskDetailedController.groovy
r871 r911 147 147 if(params?.format && params.format != "html") { 148 148 149 def dateFmt = { d ate ->150 formatDate(format: "EEE, dd-MMM-yyyy", date: date)149 def dateFmt = { domain, value -> 150 formatDate(format: "EEE, dd-MMM-yyyy", date: value) 151 151 } 152 152 … … 308 308 if(params?.format && params.format != "html") { 309 309 310 def dateFmt = { d ate ->311 formatDate(format: "EEE, dd-MMM-yyyy", date: date)310 def dateFmt = { domain, value -> 311 formatDate(format: "EEE, dd-MMM-yyyy", date: value) 312 312 } 313 313
Note: See TracChangeset
for help on using the changeset viewer.