disable year localize setting

This commit is contained in:
EricTYL 2020-02-05 15:05:43 +08:00
parent 92fd4d7202
commit e76a4d7516
1 changed files with 4 additions and 1 deletions

View File

@ -7,10 +7,13 @@ class Activity
include MemberHelper
#include Slug
field :year, type: String, localize: true
# Language
field :activity_name, type: String, localize: true
field :activity_organizer, type: String, localize: true
field :activity_area, type: String, localize: true
# Basic
field :year, type: String
field :activity_start_date, type: DateTime
field :activity_end_date, type: DateTime
field :note, type: String