cdate.1

.TH CDATE 1
.SH NAME
cdate \- converts current locale weekday or month to C locale
.SH SYNOPSIS
.B cdate
[
.I weekday
]
.PP
.B cdate
[
.I month
]
.SH DESCRIPTION
.I Cdate
reads a string representing a weekday or month in the current locale and
writes to standard output the corresponding weekday or month in the C locale.
.I Cdate
processes its input using GNU
.IR date(1).
.SH EXAMPLES
If the
.BR LANG
variable contains the value
.BR de_DE.UTF-8
,
.TP
.B cdate Freitag
outputs "Friday" and
.TP
.B cdate März
outputs "March".
.SH HISTORY
While GNU
.IR date(1)
is able to emit locale-dependent datetime strings,
it seems currently unable to parse its own output.
.I Cdate
is used by
.IR calendar(1)
for parsing of locale-dependent datetime strings.
.SH AUTHOR
.I Cdate
and this man page were written by Nils Dagsson Moskopp.
.SH COPYRIGHT
Copyright © 2013 Nils Dagsson Moskopp.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
.SH SEE ALSO
.IR calendar(1)
,
.IR date(1)