Crate what_time[][src]

Structs

CmdLineArgs

Parsed command line arguments

Enums

WhatTimeError

Functions

default_config

Get the default config file path, from $HOME/.what-time

get_cmd_line_args
get_config

Get config file as string.

get_local_time

Convert current time to friend’s time zone, format, and return as string

parse_config

Parse config file string into HashMap of name / time zone pairs. Each line in the config file is a white space separated pair of name and timezones.