summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/datetime/dt-sampl.tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2006-12-08 00:12:18 +0000
committerKarl Berry <karl@freefriends.org>2006-12-08 00:12:18 +0000
commit7f549680dc21a5a0b6c80ce7b1252b232d8535ff (patch)
tree8f8fd8be391bd9e650d01094a09fc16e1602ab53 /Master/texmf-dist/doc/latex/datetime/dt-sampl.tex
parent71ba36e9c3d9def1d38c13384caf3b3737c1b188 (diff)
datetime update (7dec06)
git-svn-id: svn://tug.org/texlive/trunk@2623 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/datetime/dt-sampl.tex')
-rw-r--r--Master/texmf-dist/doc/latex/datetime/dt-sampl.tex4
1 files changed, 3 insertions, 1 deletions
diff --git a/Master/texmf-dist/doc/latex/datetime/dt-sampl.tex b/Master/texmf-dist/doc/latex/datetime/dt-sampl.tex
index 44f781b5578..f8ba3b9e046 100644
--- a/Master/texmf-dist/doc/latex/datetime/dt-sampl.tex
+++ b/Master/texmf-dist/doc/latex/datetime/dt-sampl.tex
@@ -5,7 +5,7 @@
%% The original source files were:
%%
%% datetime.dtx (with options: `dt-sampl.tex,package')
-%% Copyright (C) 2005 Nicola Talbot, all rights reserved.
+%% Copyright (C) 2006 Nicola Talbot, all rights reserved.
%% If you modify this file, you must change its name first.
%% You are NOT ALLOWED to distribute this file alone. You are NOT
%% ALLOWED to take money for the distribution or use of either this
@@ -45,6 +45,7 @@
\newdateformat{mydate}{\ifshowdow \dayofweekname{\THEDAY}{\THEMONTH}{\THEYEAR} \fi
\THEDAY\ \monthname[\THEMONTH], \THEYEAR}
\newdateformat{yyyymmdd}{\THEYEAR\twodigit{\THEMONTH}\twodigit{\THEDAY}}
+\newdateformat{ukvardate}{\THEDAY\ \monthname[\THEMONTH]\ \THEYEAR}
\newtimeformat{dottime}{\twodigit{\THEHOUR}.\twodigit{\THEMINUTE}}
\newtimeformat{dashtime12}{\THEHOURXII-\twodigit{\THEMINUTE}}
@@ -103,6 +104,7 @@ oclock & \settimeformat{oclock}\currenttime
\begin{tabular}{ll}
\verb|\dashdate| & \dashdate\today\\
\verb|\usvardate| & \usvardate\today\\
+\verb|\ukvardate| & \ukvardate\today\\
\verb|\mydate| & \mydate\today\\
\verb|\yyyymmdd| & \yyyymmdd\today\\
\verb|\dashdate| & \dashdate\formatdate{8}{3}{2000}\\