diff --git a/src/plugins/localnotifications.ts b/src/plugins/localnotifications.ts index a54ba2c5..5f095d21 100644 --- a/src/plugins/localnotifications.ts +++ b/src/plugins/localnotifications.ts @@ -35,8 +35,8 @@ import {Plugin, Cordova} from './plugin'; * * // Schedule delayed notification * LocalNotifications.schedule({ - * t ext: "Delayed Notification", - * at: new Date(new Date() + 3600), + * text: "Delayed Notification", + * at: new Date(new Date().getTime() + 3600), * led: "FF0000", * sound: null * }); @@ -273,4 +273,4 @@ export interface Notification { * Default: FFFFFF */ led? : string -} \ No newline at end of file +}