Messages - -EM [ switch to compact view ]

Pages: [1]
1
T-Clock / Re: T-Clock 2010 (download)
« on: May 18, 2016, 06:39 AM »
Have been using T-Clock for quite a while now, mainly because of its ability to show week numbers in ISO format in the system tray.
A -quasi cosmetic- request: i use dates in a format of year + week number (very strongly geared towards industry and production environments). So e.g. Wed 18 May 2016 would be shown as 1620.3 (year 2016, week 20, day of week 3). T-Clock approximates this using the clock format "yyWi.ddd", except for one-digit week numbers. So the request: can (ISO) week numbers be shown 2 characters wide with leading 0?

If i look into the sources in T-Clock/src/DLL/format.c (version 27 Nov 2015), a quick and dirty change could be
 line 379:    
Code: C [Select]
  1. out += wsprintf(out,"%02d",week);       // format "%d" to "%02d"

Cheers and thanks for the neat little app.
-Eric

Pages: [1]
Go to full version