stokito / grails-cookie

Makes dealing with cookies easy. Provides an injectable service and tag to easily get, set, and delete cookies with one line
http://grails.org/plugin/cookie
16 stars 12 forks source link

Create `expiresOn` property #23

Open stokito opened 9 years ago

stokito commented 9 years ago

The Cookie class has attribute maxAge in seccods. But sometimes you want to set expiration date. So, we need to support java.util.Date, java.time.Period and java.time.Duration

stokito commented 9 years ago

We miggt to extend the base Cookie class