macOS
brew install cctzlocal Homebrew formula metadata
brew
C++ library for translating between absolute and civil times. Version 2.5 via Homebrew; verified from local package data.
install
brew install cctzlocal Homebrew formula metadata
sudo apt install libcctz-devDebian stable package indexes · libcctz-dev · source: deb.debian.org
sudo dnf install cctzFedora Rawhide package metadata · cctz · source: dl.fedoraproject.org
nix profile install nixpkgs#cctznixpkgs package indexes · pkgs/by-name/cc/cctz/package.nix · source: api.github.com
overview
C++ library for translating between absolute and civil times
history
CCTZ is Google's C++ date, civil-time, and time-zone library for converting between absolute time and human civil time using IANA time-zone data. It is packaged both as a library and, in Homebrew, with the time_tool example executable.
The official repository was created in 2015. The README says CCTZ contains a Civil-Time Library and a Time-Zone Library that cooperate with C++ <chrono>, giving programmers tools for date, time, and time-zone work.
CCTZ had a v1.0 release in March 2016 and a v2.0 release in April 2016, followed by v2.1 in 2017, v2.2 in 2018, v2.3 in 2019, v2.4 in 2024, and v2.5 in 2025.
The README documents Bazel as the preferred build system while also supporting Make and CMake. The input package facts list Homebrew, Debian/Ubuntu libcctz-dev, Fedora/DNF, and Nix packages, showing adoption as a reusable C++ library rather than only as an application.
CCTZ is used by C++ programs that need correct civil-date arithmetic and conversion between time zones and absolute time points. The README points users to cctz/civil_time.h, cctz/time_zone.h, examples, Bazel, CMake, and system-installed IANA zoneinfo data.
CCTZ is package-nerd significant because time-zone handling is notoriously edge-case heavy, and this library packages a focused C++ solution around IANA data before broad standard-library time-zone support was common in deployed toolchains.
security posture
library-like package without higher-risk signals.
green risk · low confidence · appliance
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
time_tool | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://github.com/google/cctz
install metadata
| Package key | brew:cctz |
|---|---|
| Version | 2.5 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/cctz |
| Homepage | https://github.com/google/cctz |
| Repository | https://github.com/google/cctz |
| Upstream docs | https://github.com/google/cctz#readme |
| License | Apache-2.0 |
| Source archive | https://github.com/google/cctz/archive/refs/tags/v2.5.tar.gz |
| Build dependencies | cmake |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | cctz |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
libcctz-dev 2.4+dfsg1-2
Library for computing dates, times and time zones, development files
https://github.com/google/cctz
sudo apt install libcctz-devlibcctz-doc 2.4+dfsg1-2
Library for computing dates, times and time zones, documentation
https://github.com/google/cctz
sudo apt install libcctz-doclibcctz2.4 2.4+dfsg1-2
Library for computing dates, times and time zones, shared library
https://github.com/google/cctz
sudo apt install libcctz2.4cctz
nix profile install nixpkgs#cctzlibcctz-dev 2.3+dfsg1-5build1
Library for computing dates, times and time zones, development files
https://github.com/google/cctz
sudo apt install libcctz-devlibcctz-doc 2.3+dfsg1-5build1
Library for computing dates, times and time zones, documentation
https://github.com/google/cctz
sudo apt install libcctz-doclibcctz2 2.3+dfsg1-5build1
Library for computing dates, times and time zones, shared library
https://github.com/google/cctz
sudo apt install libcctz2cctz 2.5-3.fc44
Translating between absolute and civil times using time zone rules
https://github.com/google/cctz
sudo dnf install cctzcctz-devel 2.5-3.fc44
Translating between absolute and civil times using time zone rules
https://github.com/google/cctz
sudo dnf install cctz-develsource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.