Re: MissingMethodException Date.format() in GroovyDoc root template

2018-06-13 Thread Paul King
In 2.6 we can't assume that the java time stuff will be there. On Wed, Jun 13, 2018 at 2:01 PM, Keegan Witt wrote: > We should make the change to remove that dependency in both 2.6 and 3.0, > right? > > On Tue, Jun 12, 2018 at 11:49 PM Keegan Witt wrote: > >> Ah. Thank you. That's what I was

Re: MissingMethodException Date.format() in GroovyDoc root template

2018-06-13 Thread Keegan Witt
You could just do this "${new java.text.SimpleDateFormat('yyy-MM-dd').format(new Date())}" Instead of "${new Date().format('-MM-dd')}" That should work everywhere. On Wed, Jun 13, 2018 at 2:35 AM Paul King wrote: > In 2.6 we can't assume that the java time stuff will be there. > > On Wed,