Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
时间字段的定义,一般都是time.strftime('%Y-%m-%d %H:%M:%S'),不过在view中显示的时候,往往不需要这么详细的时间,有年月日足够,因此可以这样做: <field name="write_date" widget="date"/>这样显示的write_date就只有年月日了。感谢mrshelly的解答。