Groovy web console

subscribe to the feed Subscribe
to this
site
It is a bug? (via #groovywebconsole)
tweet this snippet Tweet
this
script

It is a bug?

Published 2 weeks ago by MCG with tags Date New Year
Actions  ➤ Edit in console Back to console Show/hide line numbers View recent scripts
(new Date().parse("yyy-MM-dd", "2018-01-01") - 1).format("YYYY-MM-dd")