Gamestudio Links
Zorro Links
Newest Posts
Z9 getting Error 058
by k_ivan. 04/20/26 15:57
Stooq now requires an API key
by jcl. 04/13/26 09:42
Strange "Alien" Skull created with >Knubber<
by NeoDumont. 04/10/26 18:58
400 free seamless texture pack downl. here !
by NeoDumont. 04/08/26 19:55
ZorroGPT
by TipmyPip. 04/08/26 17:08
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
0 registered members (), 4,357 guests, and 7 spiders.
Key: Admin, Global Mod, Mod
Newest Members
juergenwue, VladMak, Geir, ondrej, mredit
19208 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Out-of-order dates under wine #451663
05/15/15 15:59
05/15/15 15:59
Joined: Sep 2013
Posts: 504
California
G
GPEngine Offline OP
User
GPEngine  Offline OP
User
G

Joined: Sep 2013
Posts: 504
California
Code:
function run() {
  StartDate = 20141125;
  EndDate = 20141205;
  BarPeriod = 60;
  Weekend = 1;
  set(PLOTNOW);

  if (day() != day(1)) {
    printf("\n%d-%02d-%02d", year(), month(), day());
  }
}

Observed: Plot omits all of December.
Observed: Zorro thinks Jan 1, 2015 comes between Nov and Dec 2014.
Code:
2014-11-24
2014-11-25
2014-11-26
2014-11-27
2014-11-28
2014-11-30
2015-01-01
2014-12-02
2014-12-03
2014-12-04
2014-12-05



Last edited by GPEngine; 05/22/15 11:14.
Re: Critical date bug with Weekend = 1 [Re: GPEngine] #451782
05/21/15 05:41
05/21/15 05:41
Joined: Sep 2013
Posts: 504
California
G
GPEngine Offline OP
User
GPEngine  Offline OP
User
G

Joined: Sep 2013
Posts: 504
California
I think I broke jcl.

Re: Critical date bug with Weekend = 1 [Re: GPEngine] #451784
05/21/15 06:46
05/21/15 06:46
Joined: May 2013
Posts: 627
Bonn
Sundance Offline
User
Sundance  Offline
User

Joined: May 2013
Posts: 627
Bonn
Wow.
It drops 2014-12-01. Seems it was replaced with 2015-01-01.

Re: Critical date bug with Weekend = 1 [Re: Sundance] #451814
05/22/15 08:47
05/22/15 08:47
Joined: Jul 2000
Posts: 28,093
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 28,093
Frankfurt
Hmm, I can not see any those problems, neither with the current beta nor with the past release.

2014-11-24
2014-11-25
2014-11-26
2014-11-27
2014-11-28
2014-11-30
2014-12-01
2014-12-02
2014-12-03
2014-12-04
2014-12-05
Generate Chart - please wait... ok

Are you sure you produced that January day with your script above? Have you changed something with the historical price data?

Re: Critical date bug with Weekend = 1 [Re: jcl] #451819
05/22/15 11:13
05/22/15 11:13
Joined: Sep 2013
Posts: 504
California
G
GPEngine Offline OP
User
GPEngine  Offline OP
User
G

Joined: Sep 2013
Posts: 504
California
Ugh. It only happens in Zorro under wine.

Re: Critical date bug with Weekend = 1 [Re: GPEngine] #451820
05/22/15 11:40
05/22/15 11:40
Joined: Jul 2000
Posts: 28,093
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 28,093
Frankfurt
Could be a bug of the OLEDateTime function of Wine. We'll have to look further into it. Until this is resolved, I'll put a note in the manual to not use Zorro with Wine. Thanks for reporting!



Moderated by  Petra 

Gamestudio download | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1