From 7f549680dc21a5a0b6c80ce7b1252b232d8535ff Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Fri, 8 Dec 2006 00:12:18 +0000 Subject: datetime update (7dec06) git-svn-id: svn://tug.org/texlive/trunk@2623 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/latex/datetime/CHANGES | 7 ++ Master/texmf-dist/doc/latex/datetime/README | 4 +- Master/texmf-dist/doc/latex/datetime/datetime.pdf | Bin 156960 -> 159408 bytes Master/texmf-dist/doc/latex/datetime/dt-sampl.tex | 4 +- Master/texmf-dist/doc/latex/datetime/manual.html | 92 ++++++++++++---------- 5 files changed, 63 insertions(+), 44 deletions(-) (limited to 'Master/texmf-dist/doc/latex/datetime') diff --git a/Master/texmf-dist/doc/latex/datetime/CHANGES b/Master/texmf-dist/doc/latex/datetime/CHANGES index 5c399d7640b..caa88d52fb1 100644 --- a/Master/texmf-dist/doc/latex/datetime/CHANGES +++ b/Master/texmf-dist/doc/latex/datetime/CHANGES @@ -1,5 +1,12 @@ datetime.sty history +Version 2.49: Fixed some of the multilingual problems, tidied up +code documentation + +Version 2.48: Fixed bug in \pdfdate + +Version 2.47: Defined \ier if it doesn't already exist. + Version 2.46: Made \today robust. Version 2.45: Added command to store dates. diff --git a/Master/texmf-dist/doc/latex/datetime/README b/Master/texmf-dist/doc/latex/datetime/README index ef53445b4b8..dbfa3c7bfcd 100644 --- a/Master/texmf-dist/doc/latex/datetime/README +++ b/Master/texmf-dist/doc/latex/datetime/README @@ -1,6 +1,6 @@ -LaTeX Package : datetime v 2.46 +LaTeX Package : datetime v 2.49 -Last Modified : 30 September 2005 +Last Modified : 5 December 2006 Author : Nicola Talbot diff --git a/Master/texmf-dist/doc/latex/datetime/datetime.pdf b/Master/texmf-dist/doc/latex/datetime/datetime.pdf index e243bdd0473..cf9fd80eafb 100644 Binary files a/Master/texmf-dist/doc/latex/datetime/datetime.pdf and b/Master/texmf-dist/doc/latex/datetime/datetime.pdf differ 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}\\ diff --git a/Master/texmf-dist/doc/latex/datetime/manual.html b/Master/texmf-dist/doc/latex/datetime/manual.html index b94fed19019..09bd4d1717e 100644 --- a/Master/texmf-dist/doc/latex/datetime/manual.html +++ b/Master/texmf-dist/doc/latex/datetime/manual.html @@ -1,22 +1,20 @@ - -datetime.sty v2.46: Formatting Current Date and Time - +datetime.sty v2.49: Formatting Current Date and Time + - + + @@ -36,13 +34,10 @@ original version by: Nikos Drakos, CBLU, University of Leeds

-

datetime.sty v2.46: Formatting Current Date and +

datetime.sty v2.49: Formatting Current Date and Time

-
- -

N.L.C. Talbot

-

25 May 2005

-
+

Nicola L.C. Talbot

+

5 Dec 2006


@@ -51,30 +46,32 @@ Contents

@@ -187,7 +184,7 @@ In addition, the declarations \datelang are available for all languages defined either by calling babel prior to datetime or by passing the language name as an option to datetime. -See later +See later if you want to define your own customised date format.

@@ -211,7 +208,7 @@ Time Commands The format can be changed using the declaration \settimeformat{style}, where style is the name of the format1. Available + HREF="#foot378">1. Available formats are:

xxivtime
@@ -274,7 +271,7 @@ Formating Dates

The command \pdfdate3 prints the date in the format required for + HREF="#foot172">3 prints the date in the format required for PDF files, e.g. if the date is 1 May 2004 and time is 22:02, \pdfdate will print 20040501220200. The reason this date format is separate from all the others is because the @@ -353,10 +350,10 @@ will only be added if number is 1, otherwise only

The macro \formatdate{day}{month}{year}4 formats + HREF="#foot380">4 formats the specified date according to the current format of \today5. (Arguments + HREF="#foot381">5. (Arguments must all be integers.) For example, in combination with \longdate, the command
\formatdate{27}{9}{2004} @@ -368,7 +365,7 @@ September, 2004. You can ensure that a number is displayed with at least two digits by using the command \twodigit{num}6. + HREF="#foot236">6. This is of use if you want to define your own date or time formats. @@ -455,7 +452,7 @@ Saving Dates

It is possible to save a date for later use using the command: 7 + HREF="#foot269">7

\newdate{name}{day}{month}{year} @@ -774,6 +771,16 @@ implemented.

+Troubleshooting +

+ +

+There is a datetime FAQ available at: +http://theoval.cmp.uea.ac.uk/~nlct/latex/packages/faq/ +

+ +

Contact Details

Dr Nicola Talbot @@ -785,11 +792,11 @@ University of East Anglia Norwich. NR4 7TJ.
United Kingdom. -
http://theoval.cmp.uea.ac.uk/~nlct/

Footnotes

-
... format... format1
Note that the commands \xxivtime, \ampmtime and @@ -808,13 +815,13 @@ given by placing a backslash in front of style. So 2.43 fixed bug which caused an infinite loop on the hour.
-
... \pdfdate... \pdfdate3
thanks to Ulrich Dirr for asking about this
-
...year}...year}4
Note the name change since version 1.1. The command name was changed @@ -824,7 +831,7 @@ from \thedate file.
-
... +
... \today5
To be more precise, \ @@ -834,12 +841,12 @@ file. of \formatdate
-
...num}...num}6
New to version 2.2
-
... command:... command:7
Thanks to Denis Bitouzé for asking about this @@ -847,7 +854,10 @@ of \formatdate


-Nicola L. C. Talbot. School of Computing Sciences. University of East Anglia. Last Modified: 2005-10-01 +Nicola L. C. Talbot. +School of Computing Sciences. +University of East Anglia. +Last Modified: 2006-12-06
-- cgit v1.2.3