diff --git a/Time.py b/Time.py index b90d023..6e0edf8 100755 --- a/Time.py +++ b/Time.py @@ -23,9 +23,9 @@ def _Throw(Msg): Misc.Throw(Msg, ModuleName) def DateParse(Datestr): """Converts a date string to seconds since the epoch.""" Fs = DateFormat; - if length(Datestr) > 16 : Fs = DateFormatHms; - elif length(Datestr) > 13 : Fs = DateFormatHm; - elif length(Datestr) > 10 : Fs = DateFormatH; + if len(Datestr) > 16 : Fs = DateFormatHms; + elif len(Datestr) > 13 : Fs = DateFormatHm; + elif len(Datestr) > 10 : Fs = DateFormatH; return mktime(strptime(Datestr, Fs)) def DateToText(Seconds): diff --git a/dklrt.el b/dklrt.el index cbe32b3..afc672c 100755 --- a/dklrt.el +++ b/dklrt.el @@ -70,7 +70,7 @@ transaction date." ; Hard-coded alternative value for debug only. (or dklrt-PackageDirectory - (setq dklrt-PackageDirectory "/opt/dk/emacs/dklrt-20131028.1025/")) + (setq dklrt-PackageDirectory "/opt/dk/emacs/dklrt-20131028.1129/")) ;;;###autoload (defun dklrt-SetCcKeys()