Releases: pghvlaans/wclock
wclock-0.1.4.2022c
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 toEurope/Kyiv
intzdata-2022b
; implemented the name change incompat
,deprecated
andextras
.
wclock-0.1.4.2022a
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
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
andposix
subdirectories first - Moved runtime
zoneinfo
validation into the main script - Added missing
zoneinfo
subdirectories to the checking method
- Check the
- Slight wording changes.
- Adjusted versioning information to indicate that
wclock
works with the latesttzdata
(2021e).
Future developments
- A
wclock
release with any appropriate changes toextras
,deprecated
andcompat
will be made when the nexttzdata
version comes out.
wclock-0.1.3.2021d
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 latesttzdata
(2021d). - New versioning convention: append the most-recent verified
tzdata
version number to thewclock
version number.
Future developments
- A
wclock
release with any appropriate changes toextras
,deprecated
andcompat
will be made when the nexttzdata
version comes out.
wclock-0.1.3
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
andcompat
to reflect the change fromPacific/Enderbury
toPacific/Kanton
. This makeswclock
compatible withtzdata-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 toextras
,deprecated
andcompat
will be made when the nexttzdata
version comes out.
wclock-0.1.2
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; seeINSTALL
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.
- For compatibility: The location of the zoneinfo directory and a file that sets the time zone can be passed to
- 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 thatextras
andcompat
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
, useEurope/Istanbul
in preference to the symlinkAsia/Istanbul
.
Future developments
- A
wclock
release with appropriate changes toextras
andcompat
will be made whentzdata-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
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 todate
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 searchcompat
when a searched time zone is available as oftzdata-2021a
, but is not present on the system due to an out-of-datetzdata
version.
wclock-0.1.0
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 todate
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
.