Modifying date display in calendar #2642
-
How can we modify the datepicker date display values on the calendar? Right now my month is "August 22" but I want "August 2022". Also, the days are displayed as "Mon, Tue, Wed".. but I want "Mo, Tu, We". I'm using Tempus Dominus v6. Please advise. Thanks. Note: I also posted this comment in another thread but realized they were asking something similar but different from what I want. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
How do we do this for v6? getDateViewFormat() |
Beta Was this translation helpful? Give feedback.
-
The year display can be changed by setting this on the dayViewHeaderFormat: { month: 'long', year: 'numeric' } |
Beta Was this translation helpful? Give feedback.
-
Thanks!
Now how do we change the weekday format? I want Mo Tu We Th Fr Sa Su (two
letters instead of three).
…On Wed, Oct 5, 2022 at 5:30 AM m-gallesio ***@***.***> wrote:
The year display can be changed by setting this on the localization
property of the options:
dayViewHeaderFormat: { month: 'long', year: 'numeric' }
—
Reply to this email directly, view it on GitHub
<#2642 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AANF52XT6ZHQM53YTTIGHULWBVKF7ANCNFSM6AAAAAAQARSRYU>
.
You are receiving this because you authored the thread.Message ID:
***@***.***
com>
|
Beta Was this translation helpful? Give feedback.
The year display can be changed by setting this on the
localization
property of the options: