1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-13 17:56:25 +00:00

add Date ISO 8601 format

This commit is contained in:
mehdi
2019-06-24 06:10:31 +09:00
parent 49c75e3599
commit 6e45ee6a38
7 changed files with 27 additions and 5 deletions

View File

@@ -78,6 +78,7 @@ class UiTab extends React.Component {
saveTagsAlphabetically: this.refs.saveTagsAlphabetically.checked,
enableLiveNoteCounts: this.refs.enableLiveNoteCounts.checked,
showMenuBar: this.refs.showMenuBar.checked,
dateFormatISO8601: this.refs.dateFormatISO8601.checked,
disableDirectWrite: this.refs.uiD2w != null
? this.refs.uiD2w.checked
: false
@@ -293,7 +294,16 @@ class UiTab extends React.Component {
</div>
: null
}
<div styleName='group-checkBoxSection'>
<label>
<input onChange={(e) => this.handleUIChange(e)}
checked={this.state.config.ui.dateFormatISO8601}
ref='dateFormatISO8601'
type='checkbox'
/>&nbsp;
{i18n.__('Date shortcut use iso 8601 format')}
</label>
</div>
<div styleName='group-header2'>Tags</div>
<div styleName='group-checkBoxSection'>