Hello, I've been customizing my mode-line and found a little typo in time.lisp.
The problem is that (time-12hr-time) and almost all the other time related functions return the formated timestring with the month number in the place of minutes. Since it makes more sense to have %m as minute and %M as month I chaged the translation table rather than the functions. Patch attached -- TC-Rucho
--- time.lisp 2008-12-03 04:45:34.000000000 -0200 +++ time-fixed.lisp 2008-12-06 14:23:06.000000000 -0200 @@ -75,8 +75,8 @@ ;; (#\j) day of year (001..366) (#\k time-hour) (#\l time-hour-12hr) - (#\m time-month) - (#\M time-minute) + (#\M time-month) + (#\m time-minute) (#\n time-newline) ;; (#\N) nanoseconds (000000000..999999999) (#\p time-am-pm)
signature.asc
Description: This is a digitally signed message part
_______________________________________________ Stumpwm-devel mailing list Stumpwm-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/stumpwm-devel