package langpop

class Score {
    Date date
    Integer score

    static belongsTo = [lang: Lang,
                        site: Site]

    static constraints = {
    }
}

package langpop

class Score {
    Date date
    Integer score

    static belongsTo = [lang: Lang,
                        site: Site]

    static constraints = {
    }

    public void setDate(Date date) {
        // Remove the time component since we only want the date
        this.date = date.clearTime()
    }
}

Remove the time component when saving score dates
Remove the time component when saving score dates
