Xadras / stasiscl

Automatically exported from code.google.com/p/stasiscl
0 stars 0 forks source link

Generating stats from last years logs yield wrong year in the dates #125

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I recently installed stasiscl for our guilds use and we wanted to add all
the old raids to it as well. So a fellow guildie sent me log files starting
from December. Now the combat logs have no year information, so stasiscl
uses the current year.

Effectively I know have raids that were run in December 2009.

Now I'll probably go do some semi manual replace since this is a once in a
year problem, but either way it would be nice to have an option to easily
override the year with a command line option.

Original issue reported on code.google.com by mwaf.m...@gmail.com on 8 Apr 2009 at 5:36

GoogleCodeExporter commented 9 years ago
Never mind this. I looked into the code and found in Parser.pm that it is 
possible to
specify -year 2008 which worked fine. (Except it didn't override the old one 
with the
wrong year, but that not a biggie).

However, I could not find any documentation on this, should be mention in the 
perldoc
at least.

Side-note, running ./stasis outputs: "See 'perldoc stasis'.", it should be "See
'perldoc Stasis'." (captital S).

Original comment by mwaf.m...@gmail.com on 8 Apr 2009 at 7:29

GoogleCodeExporter commented 9 years ago
Does 'perldoc stasis' not work on your machine? I think it really should be 
'perldoc stasis' since it's pulling the 
perldoc out of the 'stasis' program and not a Stasis.pm perl module.

Original comment by gianmerlino@gmail.com on 15 Apr 2009 at 3:35

GoogleCodeExporter commented 9 years ago
Hmm, perhaps I had a typo there, because now that I retried it, it works both 
with
perldoc stasis and perldoc Stasis. I've updated from r250 to r252 since but that
hardly is an issue.

Probably a mistake on my side even though I recall copy-pasting it from the 
output.

In case you're still interested in my computer setup I use a new Mac Mini with 
OS X
10.5.6 with the developer tools and http://fink.sf.net/ installed.

Original comment by mwaf.m...@gmail.com on 16 Apr 2009 at 5:36

GoogleCodeExporter commented 9 years ago

Original comment by gianmerlino@gmail.com on 20 Apr 2009 at 7:17

GoogleCodeExporter commented 9 years ago
This was marked as fixed so I did an update (revision 257 being the latest) but 
the
perldoc for stasis still does not mention the "year" option.

Original comment by mwaf.m...@gmail.com on 21 Apr 2009 at 10:26