NativeScript Date Utils
Installation
tns plugin add nativescript-date-utils
Running the demo app
After cloning, go into the src
folder and run npm run demo.ios
or npm run demo.android
.
API
is24hFormat
Determine whether or not the user's device is currently running in 24 hour format.
TypeScript
; DateUtils.is24hFormat.then;
JavaScript
var DateUtils = DateUtils; DateUtils;