Bug 397907 - Js api false positive - Number(new Date())
Summary: Js api false positive - Number(new Date())
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: VJET (show other bugs)
Version: unspecified   Edit
Hardware: PC Mac OS X
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Justin Early CLA
QA Contact:
URL:
Whiteboard:
Keywords: api
Depends on:
Blocks:
 
Reported: 2013-01-10 14:05 EST by Justin Early CLA
Modified: 2017-04-11 15:12 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Justin Early CLA 2013-01-10 14:05:44 EST
Math.ceil(Number(new Date()) / 1000);

Number api doesn't take Date.
Comment 1 Justin Early CLA 2013-01-26 15:04:22 EST
added support for passing Date into Number.