⧼vector-jumptocontent⧽

Timestamp field: Difference between revisions

From EPrints Documentation
mNo edit summary
mNo edit summary
Line 12: Line 12:
== Properties ==
== Properties ==


{| border="1" cellpadding="3" cellspacing="0"
As for [[Time field]]s.
| name || default || description
|-
| '''min_resolution''' || second|| '''This property is taken from the repository configuration.'''
|-
| '''render_res''' || second || '''This property is taken from the repository configuration.'''
|-
| '''render_style''' || long || '''This property is taken from the repository configuration.'''
|-
 
|}


== Required Phrases ==
== Required Phrases ==


None.


== Database ==
== Database ==
Line 33: Line 24:
  fieldname_year SMALLINT(6)
  fieldname_year SMALLINT(6)
  fieldname_month SMALLINT(6)
  fieldname_month SMALLINT(6)
  fieldname_daye SMALLINT(6)
  fieldname_day SMALLINT(6)
  fieldname_hour SMALLINT(6)
  fieldname_hour SMALLINT(6)
  fieldname_minute SMALLINT(6)
  fieldname_minute SMALLINT(6)
  fieldname_second SMALLINT(6)
  fieldname_second SMALLINT(6)

Revision as of 00:45, 15 February 2022

Inheritance

Description

Properties

As for Time fields.

Required Phrases

None.

Database

Timestamp fields are stored in the database as

fieldname_year SMALLINT(6)
fieldname_month SMALLINT(6)
fieldname_day SMALLINT(6)
fieldname_hour SMALLINT(6)
fieldname_minute SMALLINT(6)
fieldname_second SMALLINT(6)