worldclock.py: A low-effort (but hopefully useful) OFFLFIRSOCH contribution

I am once again sharing a simple Python script (using only modules in Python’s standard library) for the OFFLine-FIRst SOftware CHallenge.

Announcing OFFLFIRSOCH 2025

I already know how to check the time in different timezones with DATE(1), and I even know how to check the status of my system’s NTP daemon, but I’ve nevertheless relied on websites like time.is—and after that got too obnoxious about ad blockers, time.gov—to double-check my clock. This little script just prints the current time (on both coasts of the US) and current clock synchronization status, to provide some peace of mind.

Since it replaces one (rather unnecessary) use of the web with a local tool, and works fine with no internet connection, I hope folks feel that worlclock.py is an acceptable contribution to the challenge... even though it does report the status of an internet-based protocol.

worldclock.py - print the time and current clock synchronization status

Last year’s inaugural OFFLFIRSOCH has inspired me to take up other offline-first practices:

One needn’t be a “collapsenik” to recognize the value of keeping frequently-used resources right at hand.

Home