Book a Demo

Author Topic: Setting Creation Time  (Read 3098 times)

thomaskilian

  • Guest
Setting Creation Time
« on: December 06, 2007, 08:26:48 am »
Hi,
according to the documentation Created and Modified are both Read/Write. However, when changing these values EA does not seem to overwrite the contents. It just keeps the time stamp as of the effective moment. I will report that as bug too.

Here's the code:
my $cc = $pk->Elements->AddNew ("test", "Component");
my $var = Variant(VT_DATE, "12.12.1990 12:12:12");
$cc->{Created} = $var;
$cc->{Modified} = $var;
$cc->Update;

P.S. I remember from a far away past some option to allow manual change of dates. But I could not find that.

«Midnight»

  • EA Guru
  • *****
  • Posts: 5651
  • Karma: +0/-0
  • That nice Mister Grey
    • View Profile
Re: Setting Creation Time
« Reply #1 on: December 06, 2007, 08:30:51 am »
I stumbled over this just the other day, and kept puzzling over whether it had moved.

Tools | Options | Diagram; its named Allow change of Created Date.
No, you can't have it!

thomaskilian

  • Guest
Re: Setting Creation Time
« Reply #2 on: December 06, 2007, 08:47:29 am »
Ah yes. There it is. Why is it in Diagram ??? Sparxians, when will you find the time to make a CLEAN option page. The current layout resembles so much my desktop :P

However, it didn't change anything setting that option.

«Midnight»

  • EA Guru
  • *****
  • Posts: 5651
  • Karma: +0/-0
  • That nice Mister Grey
    • View Profile
Re: Setting Creation Time
« Reply #3 on: December 06, 2007, 09:07:17 am »
Quote
...
However, it didn't change anything setting that option.

Which (sadly) resembles my desktop...  :'(
« Last Edit: December 06, 2007, 09:07:33 am by Midnight »
No, you can't have it!

thomaskilian

  • Guest
Re: Setting Creation Time
« Reply #4 on: December 14, 2007, 03:40:24 am »
Got a reply from Sparx: It's a known bug. No ETA :(