Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master sorcery by Jaka Kranjc (8cb0a6a57fd70c834fd0b3bbd1a3af135295aec6)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Jaka Kranjc <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master sorcery by Jaka Kranjc (8cb0a6a57fd70c834fd0b3bbd1a3af135295aec6)
  • Date: Wed, 25 Jun 2008 07:39:27 -0500

GIT changes to master sorcery by Jaka Kranjc <lynxlynxlynx AT sourcemage.org>:

ChangeLog | 1 +
var/lib/sorcery/modules/libtime | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)

New commits:
commit 8cb0a6a57fd70c834fd0b3bbd1a3af135295aec6
Author: Jaka Kranjc <lynxlynxlynx AT sourcemage.org>
Commit: Jaka Kranjc <lynxlynxlynx AT sourcemage.org>

libtime: fixed a comment with a new insight

diff --git a/ChangeLog b/ChangeLog
index 9d18079..5921a61 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,6 @@
2008-06-25 Jaka Kranjc <lynxlynxlynx AT sourcemage.org>
* libtime: added to hold functions dealing with time calculations
+ fixed a comment with a new insight
* gaze: added gaze time which shows the casting time of spells
* libsorcery: in verify_source print "failure" instead of the
unusual "failed"
diff --git a/var/lib/sorcery/modules/libtime b/var/lib/sorcery/modules/libtime
index 2a74516..3cb9751 100755
--- a/var/lib/sorcery/modules/libtime
+++ b/var/lib/sorcery/modules/libtime
@@ -22,7 +22,7 @@ function compute_cast_times() {
gawk -v spell=$1 -v version=$2 '
# log timestamps are in the "%Y%m%d:%H%M\(%z\)" format
(20080625:0853(+0000))
# we need them in "%Y %m %d %H %M %S" and %s (epoch time). We ignore the
- # timezone, hoping the user does not change it while casting
+ # timezone, since the time is stored in UTC and %z is always +0000
function since_epoch(time, date) {
# The date:
date = substr(time,1,4) " " substr(time,5,2) " " substr(time,7,2)



  • [SM-Commit] GIT changes to master sorcery by Jaka Kranjc (8cb0a6a57fd70c834fd0b3bbd1a3af135295aec6), Jaka Kranjc, 06/25/2008

Archive powered by MHonArc 2.6.24.

Top of Page