NVivo 11 Pro for Windows NVivo Pro 11 is an analytical tool designed to assist in analyzing data for. The QSR Downloads page appears in. Nvivo 9.2 Serial Number with serial number key activation, crack. Kansas State University has new site license keys for NVivo 11. NVivo 11 Plus (or NVivo 10), visit the QSR. I've been trying to open a file that I KNOW is an Nvivo 8 project. Somewhere along the line the file extension has become.qdp and now when attempting to open it, Nvivo tells me it's an invalid file format and I can't open it:(((.
Code:
This seems to happen for any very old dates
My question(s): What exactly is invalid here, and why only IE? How can I move past this problem and actually create a copy of the date?
KreaseKrease
1 Answer
It seems that when a date object is passed to the Date constructor in IE, it's evaluated as something other than the time value (probably calls
toString
).To force it to evaluate to the time value, you can do:
or
or any expression that makes the date return its time value rather than a string.
![Invalid Invalid](/uploads/1/2/5/6/125640134/565031209.jpg)
When a single value is passed to the Date constructor, it's converted to a primitive. The specification doesn't say whether it should be converted to a string or number. So IE isn't non–compliant, it's just behaving differently.
It is unusual though that IE doesn't seem to correctly parse it's own string representation of a date in this case. It seems to fail for any date before 70-01-01, which may be moot since the Gregorian calendar was only introduced in 1582. The time value itself can cover dates from 283458 BC to 287396 AD.
Anyway, the fix is simple.
Edit 2016
In ES5, passing a Date to the Date constructor called Date.prototype.toString so the constructor then had to parse it's own string version of the date. ECMAScript 2015 fixed that so the time value is used directly instead.
However, not all browsers support ECMAScript 2015 yet so even though the chance of
new Date(date)
returning an incorrect value are small and becoming smaller by the day, it's still safer to use +date
(until IE 8 is completely gone).RobGRobG
Not the answer you're looking for? Browse other questions tagged javascriptdate or ask your own question.
Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.
Sign upHave a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
commented Nov 12, 2015
After upgrading Windows 10 to the Fall Update, build 10586, ShareX is unable to register the hotkeys I has set. I have tried reinstalling, but the issue still exists. The logs do not say anything helpful. Is there any way to enable more detailed logs, or figure out which app has that key combination in use, if any? |
commented Nov 12, 2015
It must be OneDrive using these hotkeys. New OneDrive update have screenshot support and even if you disable this feature still it registers these hotkeys and not allows other software to register them. |
commented Nov 12, 2015
Thanks. I didn't even notice that was re enabled on startup after the update. |
This was referenced Nov 14, 2015
Closed
Closed
commented Nov 20, 2015
What's the solution? |
commented Nov 20, 2015
Select different hotkey or close conflicting application. |
This was referenced Nov 25, 2015
Closed
Closed
commented Nov 25, 2015
its funny how this community says 'well the problem is another program' boom closed. like... can you tell me how to fix my issue? ... |
commented Nov 25, 2015
I already told, check previous message... Even that hotkey registration failed window tells same thing to you: |
commented Nov 25, 2015
no, you didn't told me anything. you just closed it. There is no instructions whatsoever in here. |
commented Nov 25, 2015
This one? |
commented Jan 26, 2016
@SebLemery right click on the OneDrive icon in your system try and go to settings. On the Auto Save tab, uncheck the 'Automatically save screenshots I capture to OneDrive' checkbox. Then restart ShareX It seems that option bullies its way into controlling your screenshot keys. |
commented Mar 1, 2016
It seems that OneDrive can show this option unchecked, but it may still hook the hotkeys anyway. Interesting... |
commented Mar 21, 2016
I wish I could just tell OneDrive to stop hooking the keys. All I care about is ShareX. <_< |
commented Mar 21, 2016
@oldmud0 yes that's right; I noticed this too. |
commented Mar 21, 2016
In theory, if ShareX started before OneDrive, it could hook the hotkeys before OneDrive starts. |
commented Mar 31, 2016
Using something like these to delay or edit the order in which applications start on your system seems like a possible fix. http://www.thewindowsclub.com/set-delay-time-startup-programs-windows EDIT: I used the free version of Startup Delayer, and that has fixed the issue for me. I gave ShareX, Dropbox and OneDrive a manual delay of 0 but made sure that ShareX is first in the list. EDIT 2: Thank you to @oldmud0 for giving me the idea ;) |
referenced this issue Mar 31, 2016
ClosedUnable to register hotkeys.. #275
commented Apr 4, 2016
Great idea, thanks @DARKFiB3R! I used to delay application startup many many years ago back when I used Windows 98. At the time, it was a great way to ensure your system wasn't bogged down by heaps of apps all trying to start at the same time (especially given hard drives were much slower then). I didn't even think of using the same principle here. In my case I just completely disabled OneDrive, but I might re-enable it and do this instead! |
commented Jun 17, 2016
You will need to sync your OneDrive's screenshot folder in order for it to understand NOT to hook the PrintScreen key. See also this comment that explains it in more detail with screenshots. It basically comes down to enabling the feature, syncing your Screenshot folder and then disabling it again. This worked for me! |
referenced this issue Jun 18, 2016
ClosedStartup Conflict #1646
commented Jul 28, 2017
A year later, I discovered this application and it's awesome, but has the keyboard conflicts with onedrive. I tried the startup delayer workaround as shown above and it works great. Thanks! |
commented Oct 24, 2017
Very old thread, but I solved this sometime ago and forgot it, spent the last minutes looking for a solution again. So, a simple solution that works for me on a clean install currently:
Once you say 'no, thanks', one drive stops binding to these keys. |
commented Mar 9, 2018
1 - sorry for the electronic translator 2 - my decision is 99% the same. and it's just 3 - Finish ShareX 4 - press PtrScr 5 - 'OneDrive' asks a question - answer is NO 6 - restart ShareX ..enjoy |
commented Jun 6, 2018
Can confirm @sharp-dev's solution works flawlessly. Note that this only applies to Onedrive Personal, Onedrive business doesnt have the screenshot capability. |
commented Feb 11, 2019
another solution that may be worse is that you right click on the onedrive icon and then tell it to not start up when signed into windows. Then you right click on lightshot and click options. Then you just click okay then it should work. |
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment