summaryrefslogtreecommitdiffstats
path: root/cltime.scm
diff options
context:
space:
mode:
Diffstat (limited to 'cltime.scm')
-rw-r--r--cltime.scm10
1 files changed, 5 insertions, 5 deletions
diff --git a/cltime.scm b/cltime.scm
index d22922c..76d06d2 100644
--- a/cltime.scm
+++ b/cltime.scm
@@ -8,7 +8,7 @@
;1. Any copy made of this software must include this copyright notice
;in full.
;
-;2. I have made no warrantee or representation that the operation of
+;2. I have made no warranty or representation that the operation of
;this software will be error-free, and I am under no obligation to
;provide any services, by way of maintenance, update, or otherwise.
;
@@ -22,13 +22,13 @@
(require 'posix-time)
(define time:1900 (time:invert time:gmtime '#(0 0 0 1 0 0 #f #f 0 0 "GMT")))
-
+;@
(define (get-decoded-time)
(decode-universal-time (get-universal-time)))
-
+;@
(define (get-universal-time)
(difftime (current-time) time:1900))
-
+;@
(define (decode-universal-time utime . tzarg)
(let ((tv (apply time:split
(offset-time time:1900 utime)
@@ -48,7 +48,7 @@
(inexact->exact (/ (vector-ref tv 9) 3600))
(/ (vector-ref tv 9) 3600)) ;time-zone [-24..24]
)))
-
+;@
(define (encode-universal-time second minute hour date month year . tzarg)
(let* ((tz (if (null? tzarg)
(tzset)