fuzzytime

A 'ten past six' style clock

Latest on Hackage:0.7.8

This package is not currently in any snapshots. If you're interested in using it, we recommend adding it to Stackage Nightly. Doing so will make builds more reliable, and allow stackage.org to host generated Haddocks.

GPL licensed by Kamil Stachowski
Maintained by kamil (a full stop) stachowski (an at sign) gmail (a full stop) com
### DESCRIPTION

fuzzytime is a small utility which tells what time it is or how much time there is left to something, in a more familiar way such as "ten to six" rather than 17:51 (telling the time), or "in five minutes" (telling the left time).

There are two modes: telling the time / the time left till some event, and setting the timer. See main below.

The intended use is in an environment which does not provide a status bar with a built-in clock. It is expected to be piper to a status bar and run every minute or so in the clock mode.
The timer can be set via the timer-setting mode. When the timer is set, the clock mode will show how much time there is left till some event. To get back to showing the actual time, timer has to be unset.


### EXAMPLE USE

Say you have fuzzytime piped to your status bar and it serves as a usual clock applet. Then you got an e-mail saying that you're going to have a meeting at one o'clock. You set the timer to 13:00 and instead of the current time, fuzzytime begins to show you how much time you have left till the meeting. After you come back, you unset the timer and have fuzzytime display the current time again.


### --help
A clock and timer that tell the time in a more human way.
v0.7.8, 2016.12.06, *antispam*, GPL3+

fuzzytime [COMMAND] ... [OPTIONS]

Common flags:
-? --help Display help message
-V --version Print version information

fuzzytime clock [OPTIONS]
Print fuzzy time if timer is not set, and countdown if it is.

-a --caps=INT Capital letters; default 1 (see the man page).
-c --clock=INT 12 or 24-hour clock; default 12-hour.
-l --lang=ITEM Language (currently da, de, el, en, es, fr, it, ja, nb,
nl, pl, se and tr); default en.
-p --prec=INT Precision (1 <= prec <= 60 [minutes]); default 5.
-t --time=ITEM Time to fuzzify as HH:MM; default current time.
-o --sound=ITEM Command to play the alarm sound; see man for the default.
-s --style=INT How the time is told (see the man page); default 1.

fuzzytime timer [OPTIONS] [END]
Set timer to END as HH:MM or "unset". (Disables printing time.)

Changes

TODO
check Spanish: 21 (las? la?), halves
timer for Danish, Greek, Italian and Spanish
halv midnatt -> Swedish
config file (+ when to play the sound/s)
read default language from $LANG (hFlush!)
daemon?

0.7.8 2016.12.06
bugfix

0.7.7 2011.03.03
deps update (no more haskell98)

0.7.6 2011.12.30
added Japanese (Jens Petersen)

0.7.5.1 2011.11.29
bugfix (thanks Sara)

0.7.5 2011.11.28
added config for alarm sound

0.7.4.1 2011.08.01
fixed cabal (thanks Simon Hengel)

0.7.4 2011.04.26
added Italian (thanks erm67)

0.7.3 2011.04.22
added Swedish (thanks Closey)

0.7.2 2011.04.17
added case control

0.7.1
improved cabal

0.7 2011.01.24
added Norwegian (thanks arnvidr)
added timer for Dutch (thanks Boris27) and German (thanks marens and ichbinsisyphos)
added Danish style 2
added German style 3 (thanks marens and ichbinsisyphos)
added Spanish style 3 (thanks xenofungus)
added timer alarm sound
fixed exit codes

0.6 2011.01.21
added the timer mode (en, fr, pl and tr)
added Spanish (thanks itsbrad212)
fixed the almost-next-hour bug

0.5 2011.01.17
added halves as base (de, nl and pl)
added Greek (thanks Gbak), Dutch (thanks litemotiv) and Turkish
some corrections (thanks Daniel Fischer from beginners@haskell.org again)

0.4.1 2011.01.15
fixed nextFTHour

0.4 2011.01.15
added --time (thanks Daniel Fischer and Brent Yorgey from beginners@haskell.org!)
added --style
added Danish (by M_ller with my modifications)
removed "poĊ‚udnie" from pl
sorted out the representation of midnight and noon
added a man page

0.3 2011.01.14
added midnight and noon
added checking cli options
fixed the "quarter past quarter" bug

0.2 2011.01.12
added French and German
added 12 vs. 24-hour clock

0.1.1 2010.12.06
added cabal

0.1 2010.12.05
initial release: two languages (en and pl), 1 < precision < 60
Used by 1 package:
comments powered byDisqus