cupertino-files / buildDateField
Function: buildDateField()
buildDateField(
store,component,options?):IwaObject
Defined in: src/tswp/fields.ts:236
Build a TSWP.DateTimeSmartFieldArchive.
A date field spans real characters, unlike a page number: the text is in the storage and the app rewrites it when the field updates. So the caller supplies the text to show, and needs_update is set so the app replaces it with its own rendering at the first opportunity — rendering a date the way a given locale and pattern would is Foundation's job, and approximating it here would put subtly wrong text in the document.
Parameters
store
component
options?
DateFieldOptions = {}