topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Saturday June 21, 2025, 5:31 pm
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Recent Posts

Pages: [1]
1
T-Clock / Re: T-Clock 2010 (download)
« Last post by -EM 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]