diff options
author | Karl Berry <karl@freefriends.org> | 2016-01-23 22:24:03 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2016-01-23 22:24:03 +0000 |
commit | 21d19604dc80efef1747f4a048c9dae5e8e810b1 (patch) | |
tree | 799709dd6c3e450d8dd396cb7eb6c524067c3890 /Master/texmf-dist/tex/latex/datetime2-english/datetime2-en-US.ldf | |
parent | 38203e642e358a19a7cfc36864af651c0384068b (diff) |
datetime2-english (22jan16)
git-svn-id: svn://tug.org/texlive/trunk@39469 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/datetime2-english/datetime2-en-US.ldf')
-rw-r--r-- | Master/texmf-dist/tex/latex/datetime2-english/datetime2-en-US.ldf | 135 |
1 files changed, 134 insertions, 1 deletions
diff --git a/Master/texmf-dist/tex/latex/datetime2-english/datetime2-en-US.ldf b/Master/texmf-dist/tex/latex/datetime2-english/datetime2-en-US.ldf index d23be9d4738..935e83ff30c 100644 --- a/Master/texmf-dist/tex/latex/datetime2-english/datetime2-en-US.ldf +++ b/Master/texmf-dist/tex/latex/datetime2-english/datetime2-en-US.ldf @@ -44,7 +44,7 @@ %% Right bracket \] Circumflex \^ Underscore \_ %% Grave accent \` Left brace \{ Vertical bar \| %% Right brace \} Tilde \~} -\ProvidesDateTimeModule{en-US}[2015/01/18 v1.02 (NLCT)] +\ProvidesDateTimeModule{en-US}[2016/01/23 v1.03 (NLCT)] \RequireDateTimeModule{english-base} \newcommand*{\DTMenUSmonthdaysep}{\space} \newcommand*{\DTMenUSdowmonthsep}{\space} @@ -82,6 +82,85 @@ \DTMtexorpdfstring{\protect\textsc{##1}}{##1}}% \fi } +\DTMdefchoicekey{en-US}{zone}[\val\nr]% + {std,standard,dst,daylight,atlantic,eastern,central,mountain,% + pacific,alaska,hawaii-aleutian,hawaii,aleutian,samoa,charmorro,clear}% +{% + \ifcase\nr\relax + % std + \appto\DTMenUSzonemaps{\DTMenUSstdzonemaps}% + \DTMenUSstdzonemaps + \or + % standard + \appto\DTMenUSzonemaps{\DTMenUSstdzonemaps}% + \DTMenUSstdzonemaps + \or + % dst + \appto\DTMenUSzonemaps{\DTMenUSdstzonemaps}% + \DTMenUSdstzonemaps + \or + % daylight + \appto\DTMenUSzonemaps{\DTMenUSdstzonemaps}% + \DTMenUSdstzonemaps + \or + % atlantic + \appto\DTMenUSzonemaps{\DTMenUSatlanticzonemaps}% + \DTMenUSatlanticzonemaps + \or + % eastern + \appto\DTMenUSzonemaps{\DTMenUSeasternzonemaps}% + \DTMenUSeasternzonemaps + \or + % central + \appto\DTMenUSzonemaps{\DTMenUScentralzonemaps}% + \DTMenUScentralzonemaps + \or + % mountain + \appto\DTMenUSzonemaps{\DTMenUSmountainzonemaps}% + \DTMenUSmountainzonemaps + \or + % pacific + \appto\DTMenUSzonemaps{\DTMenUSpacificzonemaps}% + \DTMenUSpacificzonemaps + \or + % alaska + \appto\DTMenUSzonemaps{\DTMenUSalaskazonemaps}% + \DTMenUSalaskazonemaps + \or + % hawaii-aleutian + \appto\DTMenUSzonemaps{\DTMenUShawaiialeutianzonemaps}% + \DTMenUShawaiialeutianzonemaps + \or + % hawaii + \appto\DTMenUSzonemaps{\DTMenUShawaiialeutianzonemaps}% + \DTMenUShawaiialeutianzonemaps + \or + % aleutian + \appto\DTMenUSzonemaps{\DTMenUShawaiialeutianzonemaps}% + \DTMenUShawaiialeutianzonemaps + \or + % samoa + \appto\DTMenUSzonemaps{\DTMenUSsamoazonemaps}% + \DTMenUSsamoazonemaps + \or + % chamorro + \appto\DTMenUSzonemaps{\DTMenUSchamorrozonemaps}% + \DTMenUSchamorrozonemaps + \or + % clear + \renewcommand*{\DTMenUSzonemaps}{}% + \DTMclearmap{-3}{0}% + \DTMclearmap{-4}{0}% + \DTMclearmap{-5}{0}% + \DTMclearmap{-6}{0}% + \DTMclearmap{-7}{0}% + \DTMclearmap{-8}{0}% + \DTMclearmap{-9}{0}% + \DTMclearmap{-10}{0}% + \DTMclearmap{-11}{0}% + \DTMclearmap{10}{0}% + \fi +} \DTMnewstyle {en-US}% label {% date style @@ -211,6 +290,60 @@ \DTMdefzonemap{-7}{00}{MST}% \DTMdefzonemap{-8}{00}{PST}% } +\newcommand*{\DTMenUSstdzonemaps}{% + \DTMdefzonemap{-4}{00}{AST}% + \DTMdefzonemap{-5}{00}{EST}% + \DTMdefzonemap{-6}{00}{CST}% + \DTMdefzonemap{-7}{00}{MST}% + \DTMdefzonemap{-8}{00}{PST}% + \DTMdefzonemap{-9}{00}{AKST}% + \DTMdefzonemap{-10}{00}{HAST}% + \DTMdefzonemap{-11}{00}{SST}% + \DTMdefzonemap{10}{00}{ChST}% +} +\newcommand*{\DTMenUSdstzonemaps}{% + \DTMdefzonemap{-3}{00}{ADT}% + \DTMdefzonemap{-4}{00}{EDT}% + \DTMdefzonemap{-5}{00}{CDT}% + \DTMdefzonemap{-6}{00}{MDT}% + \DTMdefzonemap{-7}{00}{PDT}% + \DTMdefzonemap{-8}{00}{AKDT}% + \DTMdefzonemap{-9}{00}{HADT}% +} +\newcommand*{\DTMenUSatlanticzonemaps}{% + \DTMdefzonemap{-4}{00}{AST}% + \DTMdefzonemap{-3}{00}{ADT}% +} +\newcommand*{\DTMenUSeasternzonemaps}{% + \DTMdefzonemap{-5}{00}{EST}% + \DTMdefzonemap{-4}{00}{EDT}% +} +\newcommand*{\DTMenUScentralzonemaps}{% + \DTMdefzonemap{-6}{00}{CST}% + \DTMdefzonemap{-5}{00}{CDT}% +} +\newcommand*{\DTMenUSmountainzonemaps}{% + \DTMdefzonemap{-7}{00}{MST}% + \DTMdefzonemap{-6}{00}{MDT}% +} +\newcommand*{\DTMenUSpacificzonemaps}{% + \DTMdefzonemap{-8}{00}{PST}% + \DTMdefzonemap{-7}{00}{PDT}% +} +\newcommand*{\DTMenUSalaskazonemaps}{% + \DTMdefzonemap{-9}{00}{AKST}% + \DTMdefzonemap{-8}{00}{AKDT}% +} +\newcommand*{\DTMenUShawaiialeutianzonemaps}{% + \DTMdefzonemap{-10}{00}{HAST}% + \DTMdefzonemap{-9}{00}{HADT}% +} +\newcommand*{\DTMenUSsamoazonemaps}{% + \DTMdefzonemap{-11}{00}{SST}% +} +\newcommand*{\DTMenUSchamorrozonemaps}{% + \DTMdefzonemap{10}{00}{ChST}% +} \DTMifcaseregional {}% do nothing {\DTMsetstyle{en-US}}% |