Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Visualise timezones
Clojure
tree: bf4f937dfb

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
src
static
README.md
example.jpg
project.clj

README.md

This is a quick hack to display time lines of different timezones for easy comparison. Handy if you're working with people from multiple different timezones and want to see how your hours line up. Makes use of Java's timezone data to hopefully handle daylight savings correctly.

screenshot

Behind the scenes this is implemented using Compojure, Enlive (for templating), Clojure's built-in XML functionality, JQuery and Batik (for generating JPEG versions of the time lines).

To build it it's the usual:

  1. Get Leiningen from http://github.com/technomancy/leiningen and put the 'lein' script somewhere in your $PATH.

  2. From the checkout directory directory, run `lein uberjar'. Lein will grab all required dependencies and produce a standalone uberjar.

I run my instance with:

 #!/bin/bash

 cd /path/to/checkout
 java -jar path-to-uberjar 8081

All pretty messy, but that's what quick hacks are for!

Something went wrong with that request. Please try again.