Skip to content

Releases: pghvlaans/wclock

wclock-0.1.4.2022c

20 Aug 04:49
Compare
Choose a tag to compare

wclock-0.1.4.2022c

wclock is an ideal world clock solution for Linux users who spend a lot of time in terminal emulators and tty:

  • CLI-based: check times from around the world without breaking workflow by leaving the terminal.
  • Unsure of the correct time zone? No problem. Search from over 2000 cities worldwide and almost every country.
  • What time will it be in Barcelona at 11:00 tomorrow in your local time zone (and vice-versa)? Check easily.
  • wclock passes time zone/offset and date string information to date automatically for extra convenience.
  • wclock does not access the internet to check the time.

wclock is light on dependencies, and should be compatible with nearly any Linux installation that has the GNU version of both coreutils and grep. See INSTALL for installation instructions! For more information about wclock, refer to man wclock.

This version of wclock was checked against tzdata-2022c, but is compatible with versions dating from 2012 onward.

Please note that all substantive changes for Linux since the last wclock release took place in tzdata-2022b.

Changes

  • wclock: Improved temporary file handling.
  • share: Europe/Kiev was renamed to Europe/Kyiv in tzdata-2022b; implemented the name change in compat, deprecated and extras.

wclock-0.1.4.2022a

24 Apr 14:37
Compare
Choose a tag to compare

wclock-0.1.4.2022a

wclock is an ideal world clock solution for Linux users who spend a lot of time in terminal emulators and tty:

  • CLI-based: check times from around the world without breaking workflow by leaving the terminal.
  • Unsure of the correct time zone? No problem. Search from over 2000 cities worldwide and almost every country.
  • What time will it be in Barcelona at 11:00 tomorrow in your local time zone (and vice-versa)? Check easily.
  • wclock passes time zone/offset and date string information to date automatically for extra convenience.
  • wclock does not access the internet to check the time.

wclock is light on dependencies, and should be compatible with nearly any Linux installation that has the GNU version of both coreutils and grep. See INSTALL for installation instructions! For more information about wclock, refer to man wclock.

This version of wclock was checked against tzdata-2022a, but is compatible with versions dating from 2012 onward.

Change

  • Makefile: Retain a log of the parameters used in the most recent installation (in case using make uninstall is ever necessary)

wclock-0.1.4.2021e

22 Oct 12:35
Compare
Choose a tag to compare

wclock-0.1.4.2021e

wclock is an ideal world clock solution for Linux users who spend a lot of time in terminal emulators and tty:

  • CLI-based: check times from around the world without breaking workflow by leaving the terminal.
  • Unsure of the correct time zone? No problem. Search from over 2000 cities worldwide and almost every country.
  • What time will it be in Barcelona at 11:00 tomorrow in your local time zone (and vice-versa)? Check easily.
  • wclock passes time zone/offset and date string information to date automatically for extra convenience.
  • wclock does not access the internet to check the time.

wclock is light on dependencies, and should be compatible with nearly any Linux installation that has the GNU version of both coreutils and grep. See INSTALL for installation instructions! For more information about wclock, refer to man wclock.

This version of wclock was checked against tzdata-2021e, but is compatible with versions dating from 2012 onward.

Changes

  • Fixes and improvements for zoneinfo directory validation:
    • Check the right and posix subdirectories first
    • Moved runtime zoneinfo validation into the main script
    • Added missing zoneinfo subdirectories to the checking method
  • Slight wording changes.
  • Adjusted versioning information to indicate that wclock works with the latest tzdata (2021e).

Future developments

  • A wclock release with any appropriate changes to extras, deprecated and compat will be made when the next tzdata version comes out.

wclock-0.1.3.2021d

17 Oct 13:18
a6e9e48
Compare
Choose a tag to compare

wclock-0.1.3.2021d

wclock is an ideal world clock solution for Linux users who spend a lot of time in terminal emulators and tty:

  • CLI-based: check times from around the world without breaking workflow by leaving the terminal.
  • Unsure of the correct time zone? No problem. Search from over 2000 cities worldwide and almost every country.
  • What time will it be in Barcelona at 11:00 tomorrow in your local time zone (and vice-versa)? Check easily.
  • wclock passes time zone/offset and date string information to date automatically for extra convenience.
  • wclock does not access the internet to check the time.

wclock is light on dependencies, and should be compatible with nearly any Linux installation that has the GNU version of both coreutils and grep. See INSTALL for installation instructions! For more information about wclock, refer to man wclock.

This version of wclock was written against tzdata-2021d, but is compatible with versions dating from 2012 onward.

Changes

  • Adjusted versioning information to indicate that wclock works with the latest tzdata (2021d).
  • New versioning convention: append the most-recent verified tzdata version number to the wclock version number.

Future developments

  • A wclock release with any appropriate changes to extras, deprecated and compat will be made when the next tzdata version comes out.

wclock-0.1.3

02 Oct 03:28
9c7c954
Compare
Choose a tag to compare

wclock-0.1.3

wclock is an ideal world clock solution for Linux users who spend a lot of time in terminal emulators and tty:

  • CLI-based: check times from around the world without breaking workflow by leaving the terminal.
  • Unsure of the correct time zone? No problem. Search from over 2000 cities worldwide and almost every country.
  • What time will it be in Barcelona at 11:00 tomorrow in your local time zone (and vice-versa)? Check easily.
  • wclock passes time zone/offset and date string information to date automatically for extra convenience.
  • wclock does not access the internet to check the time.

wclock is light on dependencies, and should be compatible with nearly any Linux installation that has the GNU version of both coreutils and grep. See INSTALL for installation instructions! For more information about wclock, refer to man wclock.

This version of wclock was written against tzdata-2021c, but is compatible with versions dating from 2012 onward.

Changes

wclock-0.1.3 has minor changes from the previous version:

  • Altered extras, deprecated and compat to reflect the change from Pacific/Enderbury to Pacific/Kanton. This makes wclock compatible with tzdata-2021c.
  • Added the named time zones to extras, improving lookup speed for searches matching them.
  • Improved man page formatting.

Future developments

  • A wclock release with appropriate changes to extras, deprecated and compat will be made when the next tzdata version comes out.

wclock-0.1.2

03 Aug 10:19
ef37276
Compare
Choose a tag to compare

wclock-0.1.2

wclock is an ideal world clock solution for Linux users who spend a lot of time in terminal emulators and tty:

  • CLI-based: check times from around the world without breaking workflow by leaving the terminal.
  • Unsure of the correct time zone? No problem. Search from over 2000 cities worldwide and almost every country.
  • What time will it be in Barcelona at 11:00 tomorrow in your local time zone (and vice-versa)? Check easily.
  • wclock passes time zone/offset and date string information to date automatically for extra convenience.
  • wclock does not access the internet to check the time.

wclock is light on dependencies, and should be compatible with nearly any Linux installation that has the GNU version of both coreutils and grep. See INSTALL for installation instructions! For more information about wclock, refer to man wclock.

This version of wclock was written against tzdata-2021a, but is compatible with versions dating from 2012 onward.

Changes

wclock-0.1.2 has a number of changes and improvements from the previous version, focusing mainly on compatibility and the quality of search results:

Better results

  • More cities have been added to extras; the population cut-off is now 250,000 rather than 400,000. This brings the number of searchable cities to over 2000.
  • Results reporting is now smarter when it comes to partial matches, with deprecated zones in the same country and useless doubles being much less likely to appear.
  • City and country searches are now punctuation-insensitive. This makes places such as Port-au-Prince easier to find.
  • Added a mechanism to stop exact double results from being printed.
  • For single results (and results that all have the same name, such as by-country time zone lists), the name is shown as a header for improved readability.
  • Removed redundant time zones from some country display lists.

Improved compatibility

  • /etc/localtime and /etc/timezone can now be read as symlinks, time zone files, or text files with a single time zone.
  • zoneinfo directory operations:
    • For compatibility: The location of the zoneinfo directory and a file that sets the time zone can be passed to make install. This will not be necessary on most systems; see INSTALL for details.
    • Added validate-zoneinfo: Check zoneinfo for validity; used at installation and run time.
    • Added zoneinfo-leaps and /usr/local to the zoneinfo priority ordering.
  • Version and tzdata compatibility information can now be checked with --version (-v).

Other wclock script changes

  • Improved loop logic to avoid doing certain things more than once (getting a local time zone, using the --local check fallback method, etc.).
  • Introduced more methods for readability and ease of maintenance.
  • Replaced double negative conditions with less-horrible ones.
  • Removed extraneous unset calls.
  • Removed the "query" function. This was a holdover from pre-release wclock, and serves no useful purpose now that extras and compat are searched.
  • sed has been added as a runtime dependency; less has been removed altogether.

Bugfixes

  • Results are only displayed if the requested time zone exists on the system. Previously, calls for missing time zones would display as UTC (usually in error).
  • Relative symlinks at /etc/localtime are now read properly.
  • Edge case: Fixed --local checks with the fallback method when called from UTC+630 on systems with pre-Asia/Yangon tzdata versions.
  • Checked extras for errors (spelling, wrong time zone, etc.).
  • In extras, use Europe/Istanbul in preference to the symlink Asia/Istanbul.

Future developments

  • A wclock release with appropriate changes to extras and compat will be made when tzdata-2021b comes out.
  • Europe and Africa in particular may be a bit under-represented in the list of cities; a geographically-selective expansion of the extras file is probably in order.

wclock-0.1.1

25 Jul 10:45
2075eba
Compare
Choose a tag to compare

wclock-0.1.1

wclock is an ideal world clock solution for Linux users who spend a lot of time in terminal emulators and tty:

  • CLI-based: check times from around the world without breaking workflow by leaving the terminal.
  • Unsure of the correct time zone? No problem. Search from over 1400 cities worldwide and almost every country.
  • What time will it be in Barcelona at 11:00 tomorrow in your local time zone (and vice-versa)? Check easily.
  • wclock passes time zone/offset and date string information to date automatically for extra convenience.
  • wclock does not access the internet to check the time.

wclock is light on dependencies, and should be compatible with nearly any Linux installation. See INSTALL for installation instructions! For more information about wclock, refer to README or man wclock.

This version of wclock was written against tzdata-2021a, but is compatible with versions dating from 2012 onward.

Changes

This release is intended to enable wclock to be used with any version of tzdata dating back to 2012a:

  • Added compat: this file contains a list of time zones added since the beginning of 2012, with system-appropriate substitutes to be used if the desired time zone is not present on the system.
  • wclock: changes to search compat when a searched time zone is available as of tzdata-2021a, but is not present on the system due to an out-of-date tzdata version.

wclock-0.1.0

20 Jul 14:49
6c92394
Compare
Choose a tag to compare

wclock-0.1.0

Initial Release

wclock is an ideal world clock solution for Linux users who spend a lot of time in terminal emulators and tty:

  • CLI-based: check times from around the world without breaking workflow by leaving the terminal.
  • Unsure of the correct time zone? No problem. Search from over 1400 cities worldwide and almost every country.
  • What time will it be in Barcelona at 11:00 tomorrow in your local time zone (and vice-versa)? Check easily.
  • wclock passes time zone/offset and date string information to date automatically for extra convenience.
  • wclock does not access the internet to check the time.

wclock is light on dependencies, and should be compatible with nearly any Linux installation. See INSTALL for installation instructions! For more information about wclock, refer to README or man wclock.