Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » CMUD General Discussion
alluran
Adept


Joined: 14 Sep 2005
Posts: 223
Location: Sydney, Australia

PostPosted: Mon Mar 24, 2008 7:39 am   

[Bug 2.18] Time Syntax
 
%time("yyyy|mm|dd|hh|nn|ss") is the correct syntax, however, %time("yyyy|mm|dd|hh|mm|ss") produces the same result (second set of mm giving minutes instead of documented months) nice, but not strictly correct
_________________
The Drake Forestseer
Reply with quote
Zugg
MASTER


Joined: 25 Sep 2000
Posts: 23379
Location: Colorado, USA

PostPosted: Mon Mar 24, 2008 4:32 pm   
 
Unfortunately, since CMUD is just calling the FormatDateTime routine in Delphi directly, there isn't anything I can do to change this, sorry.
Reply with quote
Zhiroc
Adept


Joined: 04 Feb 2005
Posts: 246

PostPosted: Mon Mar 24, 2008 7:26 pm   
 
Heh, it seems to try to intuit which you mean by the codes preceeding it. Unfortunately, it can be fooled: #SH %time("h:00 m/yyyy"). This gives 15:00 29/2008 when it would be obvious that I really expected "03" there instead of the minutes.
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » CMUD General Discussion All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

© 2009 Zugg Software. Hosted by Wolfpaw.net