Opened 10 years ago

Last modified 9 years ago

#45 new enhancement

Make dataFormat a global in Config.

Reported by: Gavin Owned by:
Priority: minor Milestone: 0.9 - General Improvements
Component: gnuMims - application general Version: trunk
Keywords: Cc:

Description

In Config.groovy place a global.dateFormat='EEE, dd-MMM-yyyy'.

Then find and replace all cases of the string with the global variable:

  • ${grailsApplication.config.global.dateFormat}
  • or
  • import org.codehaus.groovy.grails.commons.*
  • ConfigurationHolder.config.global.dateFormat

Change History (2)

comment:1 Changed 10 years ago by Gavin

Milestone: 0.6 -0.x - Future

comment:2 Changed 9 years ago by Gavin

Milestone: 0.x - Future0.9 - General Improvements
Note: See TracTickets for help on using tickets.