Change date formats to be day/month instead of month/day - 1.139

Also added the ISO one yyyy-mm-dd, time.
Closes #157.
This commit is contained in:
Brandon Presley 2023-06-18 11:30:28 +12:00
parent 9c9a5fdd63
commit bdd5e23f32
3 changed files with 21 additions and 5 deletions

View File

@ -21,8 +21,24 @@ import Switch from './Switch'
import {toast} from './toast' import {toast} from './toast'
import {useTheme} from './use-theme' import {useTheme} from './use-theme'
const twelveHours = ['P', 'Pp', 'ccc p', 'p', 'yyyy-MM-d', 'yyyy.MM.d'] const twelveHours = [
const twentyFours = ['P', 'P, k:m', 'ccc k:m', 'k:m', 'yyyy-MM-d', 'yyyy.MM.d'] 'dd/LL/yyyy',
'dd/LL/yyyy, p',
'ccc p',
'p',
'yyyy-MM-d',
'yyyy-MM-d, p',
'yyyy.MM.d',
]
const twentyFours = [
'dd/LL/yyyy',
'dd/LL/yyyy, k:m',
'ccc k:m',
'k:m',
'yyyy-MM-d',
'yyyy-MM-d, k:m',
'yyyy.MM.d',
]
export default function SettingsPage() { export default function SettingsPage() {
const [ignoring, setIgnoring] = useState(false) const [ignoring, setIgnoring] = useState(false)

View File

@ -41,8 +41,8 @@ android {
missingDimensionStrategy "RNNotifications.reactNativeVersion", "reactNative60" missingDimensionStrategy "RNNotifications.reactNativeVersion", "reactNative60"
minSdkVersion rootProject.ext.minSdkVersion minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion targetSdkVersion rootProject.ext.targetSdkVersion
versionCode 36164 versionCode 36165
versionName "1.138" versionName "1.139"
buildConfigField "boolean", "IS_NEW_ARCHITECTURE_ENABLED", isNewArchitectureEnabled().toString() buildConfigField "boolean", "IS_NEW_ARCHITECTURE_ENABLED", isNewArchitectureEnabled().toString()
if (isNewArchitectureEnabled()) { if (isNewArchitectureEnabled()) {

View File

@ -1,6 +1,6 @@
{ {
"name": "massive", "name": "massive",
"version": "1.138", "version": "1.139",
"private": true, "private": true,
"license": "GPL-3.0-only", "license": "GPL-3.0-only",
"scripts": { "scripts": {