From f2c85d038a9a0af01bf471b72c48a881b1b98255 Mon Sep 17 00:00:00 2001 From: Eduardo Eidelwein Berlitz Date: Tue, 5 Apr 2016 13:41:35 -0300 Subject: [PATCH] Fix documentation for LocalNotifications plugin --- src/plugins/localnotifications.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/plugins/localnotifications.ts b/src/plugins/localnotifications.ts index a54ba2c59..5f095d213 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 +}