capacitor-24h-time
v0.0.5
Published
Checks whether the device uses 24h or 12h time
Downloads
5
Readme
capacitor-24h-time
The plugin exposes a single method to check if the device is using a 24h time format or not.
Install
npm install capacitor-24h-time
npx cap sync
Usage
import { DeviceTimeUtils } from "capacitor-24h-time";
// boolean time format. True if 24h, false if 12h
const is24H = await DeviceTimeUtils.is24HourFormat();
Web Api
As of today, the web api will always return false.