3
$\begingroup$

So my questions is going to be hard to duplicate because I am not sure when or why it happens. I've read here several bugs with DateObject, but none of them include what is happening to me.

On Mathematica 10.0.0.0 I start up a kernel and run the line:

DateObject[]

and I will get the current date:

enter image description here

I will come back after running several hundreds lines of code (many of them include DateObject) and I will run the EXACT same line and get the following:

enter image description here

I've tried several different arguments like:

DateObject[{2016,2,4}]
DateObject["February 4, 2016"]
DateObject[1]

All of them do nothing, and just gives the output the exact same as the input just like above, but with their respective arguments. the only way for DateObject to start working again is for me to quit the kernel and start over again. Has this happened to anybody else? Is it a known bug? Other thoughts?

$\endgroup$
  • 1
    $\begingroup$ What version of Mathematica are you using? Do you have the suggestions bar turned on? If yes, can you disable it permanently and see if that fixes it? What sort of code are you running: do you use undocumented function, modify any builtins or do any other hacks? $\endgroup$ – Szabolcs Feb 4 '16 at 16:55
  • $\begingroup$ I am using Mathematica 10.0.0.0. And no, I am not using anything weird like that. I will try turning off the suggestions bar $\endgroup$ – Jud Feb 4 '16 at 17:03
  • $\begingroup$ Greetings! Make the most of Mma.SE and take the tour now. Help us to help you, write an excellent question. Edit if improvable, show due diligence, give brief context, include minimal working examples of code and data in formatted form. As you receive give back, vote and answer questions, keep the site useful, be kind, correct mistakes and share what you have learned. $\endgroup$ – rhermans Feb 4 '16 at 17:04
  • 2
    $\begingroup$ 10.0.0 is known to have several bugs. You really should upgrade to at least 10.0.2. If your license allows, upgrade to 10.3.1 instead. $\endgroup$ – Szabolcs Feb 4 '16 at 17:06
  • $\begingroup$ It's hard to reproduce, as you say. It would help loads if you could provide a minimal working example. Also please report back if removing the suggestion bar or upgrading helps, as suggested by Szabolcs $\endgroup$ – rhermans Feb 4 '16 at 17:15

Browse other questions tagged or ask your own question.