You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-06-21 23:17:42 +02:00
Mobile: Show alarm in correct date and time format (#2026)
This commit is contained in:
committed by
Laurent Cozic
parent
7bf394d8d5
commit
26d91e355a
@ -4,6 +4,7 @@ import PopupDialog, { DialogTitle, DialogButton } from 'react-native-popup-dialo
|
||||
import DatePicker from 'react-native-datepicker';
|
||||
import moment from 'moment';
|
||||
import { _ } from 'lib/locale.js';
|
||||
const { time } = require('lib/time-utils.js');
|
||||
|
||||
class SelectDateTimeDialog extends React.PureComponent {
|
||||
|
||||
@ -41,7 +42,7 @@ class SelectDateTimeDialog extends React.PureComponent {
|
||||
}
|
||||
|
||||
dateTimeFormat() {
|
||||
return 'MM/DD/YYYY HH:mm';
|
||||
return time.dateTimeFormat();
|
||||
}
|
||||
|
||||
stringToDate(s) {
|
||||
|
Reference in New Issue
Block a user