unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* timeclock gives incorrect time in mode-line
@ 2021-08-26  7:44 Colin Baxter
  2021-08-26  8:10 ` Colin Baxter
  0 siblings, 1 reply; 4+ messages in thread
From: Colin Baxter @ 2021-08-26  7:44 UTC (permalink / raw)
  To: emacs-devel

Hello,

I have my timeclock workday set to 12 hours by means of

(setq timeclock-workday (* 12 60 60))

This works fine in emacs-27.2 and correctly displays the remaining time
in the mode-line.

This appears not to be the case for emacs-28.0.50, which insists on
assuming the workday to be the default 8 hours when displaying the
remaining time in the mode-line.

The differences between the timeclock.el files for 27.2 and 28.0.50
seem pretty minimal and I don't see why the latter should ignore my
setting for timeclock-workday. I have checked the variable via C-h v
timeclock-workday <RET> in emacs-28.0.50 and it does indeed give the
value I set, namely 43200 (with the original value as 28800).

I'd be grateful for suggestions as to what to look for in locating the
problem.

Best wishes,

Colin Baxter.



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-08-26 14:20 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-26  7:44 timeclock gives incorrect time in mode-line Colin Baxter
2021-08-26  8:10 ` Colin Baxter
2021-08-26  8:17   ` Colin Baxter
2021-08-26 14:20     ` Lars Ingebrigtsen

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).