Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

getDayOfWeek util doesn't respect the active language pack #12783

Open
AlaaDq opened this issue Mar 14, 2022 · 12 comments
Open

getDayOfWeek util doesn't respect the active language pack #12783

AlaaDq opened this issue Mar 14, 2022 · 12 comments

Comments

@AlaaDq
Copy link

AlaaDq commented Mar 14, 2022

What happened?

import { date } from 'quasar';

date.getDayOfWeek(new Date()) // 7 (Sunday)

return Sunday(7) even when I set the default to Saturday(6) in a boot file like below

const lang = await import('quasar/lang/' + locale.isoName);
lang.default.date = { ...lang.default.date, firstDayOfWeek: 6 };

What did you expect to happen?

Return Saturday instead of Sunday by respecting the active language pack's firstDayOfWeek option.

Reproduction URL

.

How to reproduce?

overwrite default lang-pack to have its first day as

const lang = await import('quasar/lang/' + locale.isoName);
lang.default.date = { ...lang.default.date, firstDayOfWeek: 6 };

Flavour

Quasar CLI (@quasar/cli | @quasar/app)

Areas

Quasar CLI Commands/Configuration (@quasar/cli | @quasar/app), Quasar Extras (@quasar/extras)

Platforms/Browsers

Chrome

Quasar info output

No response

Relevant log output

No response

Additional context

No response

@github-actions
Copy link

Hi @AlaaDq! 👋

It looks like you provided an invalid or unsupported reproduction URL.
Do not use any service other than Codepen, jsFiddle, Codesandbox, and GitHub.
Make sure the URL you provided is correct and reachable. You can test it by visiting it in a private tab, another device, etc.
Please edit your original post above and provide a valid reproduction URL as explained.

Without a proper reproduction, your issue will have to get closed.

Thank you for your collaboration. 👏

@pdanpdan
Copy link
Collaborator

Sorry, can you explain how the first day of the week would change the current day of the week?

@AlaaDq AlaaDq closed this as completed Mar 14, 2022
@AlaaDq
Copy link
Author

AlaaDq commented Mar 14, 2022

@pdanpdan
date.getDayOfWeek(new Date()) return 1; =>{ 0 =>sun ,1=>mon}
but it should became =>{ 0 =>sat,1=>sun,2=>mon}

@AlaaDq
Copy link
Author

AlaaDq commented Mar 14, 2022

@pdanpdan
hope it is clear now

@AlaaDq AlaaDq reopened this Mar 14, 2022
@MilosPaunovic
Copy link
Member

@AlaaDq You can pass custom locale object with your firstDayOfWeek property.
https://v1.quasar.dev/vue-components/date#custom-ad-hoc-locale

Dan, I've managed to reproduce the issue - if you try to change the locale object in the way as OP, like this:

const lang = await import('quasar/lang/' + locale.isoName);
lang.default.date = { ...lang.default.date, firstDayOfWeek: 6 };

The datetime.js mixin at this line:

__getLocale () {

Does not take changes into account - locale is undefined and $q.lang.date returns default values. Don't know if that's desired behaviour.

@AlaaDq
Copy link
Author

AlaaDq commented Mar 14, 2022

image

no this is not the case i am looking for , i have locale defined and the QDate component taked the change i need
but the date utils doesn't and still consider sunday as first day

@AlaaDq
Copy link
Author

AlaaDq commented Mar 14, 2022

i just need to achive first day of week is saturday in date utils too and not only in QDate component

@pdanpdan
Copy link
Collaborator

The return value is always (and should be) the same from Date.getDay (0 - Sunday)
Else you would not be able to use it anywhere because all js localization functions use that convention.

@pdanpdan
Copy link
Collaborator

When I get to my computer I'll post a conversion function

@AlaaDq
Copy link
Author

AlaaDq commented Mar 14, 2022

what if i do something like this ,

const lang = await import('quasar/lang/' + locale.isoName);
lang.default.date = { ...lang.default.date,  days: 'Saturday_Sunday_Monday_Tuesday_Wednesday_Thursday_Friday'.split('_'),: 6 };

is this going to work?

@pdanpdan
Copy link
Collaborator

Ok, I've checked the code.
I'm not very sure which is the point of how it works, because it does not match the getDay behaviour and it does not count using the defined start of week day.

What it does now: it returns getDay value except for Sunday for which it returns 7.

@rstoenescu Should we change it to return the 1-indexed position of the day in the week as defined by the locale?

@AlaaDq
Copy link
Author

AlaaDq commented Mar 14, 2022

That is what I was need actually
Because in Asia the week start from Saturday not Sunday 😁

pdanpdan added a commit to pdanpdan/quasar that referenced this issue Mar 19, 2022
…mall years; fix subtractFromDate/addToDate incorrect end of month day quasarframework#5434, quasarframework#7076, quasarframework#7290, quasarframework#8037, quasarframework#8658, quasarframework#8918, quasarframework#8926, quasarframework#9704, quasarframework#9704, quasarframework#12270, quasarframework#11730, quasarframework#12783

- add modelNavigation prop
- add range-change event
- fix cached function when changing from persian to gregorian calendars
- fix viewModel as text
- add more examples
- fix processing of years between 0 and 99
- fix subtractFromDate/addToDate incorrect end of month day
- start a new range selection if noUnset and selected date is in existing range
pdanpdan added a commit to pdanpdan/quasar that referenced this issue Mar 19, 2022
…mall years; fix subtractFromDate/addToDate incorrect end of month day quasarframework#5434, quasarframework#7076, quasarframework#7290, quasarframework#8037, quasarframework#8658, quasarframework#8918, quasarframework#8926, quasarframework#9704, quasarframework#9704, quasarframework#12270, quasarframework#11730, quasarframework#12783

- add modelNavigation prop
- add range-change event
- fix cached function when changing from persian to gregorian calendars
- fix viewModel as text
- add more examples
- fix processing of years between 0 and 99
- fix subtractFromDate/addToDate incorrect end of month day
- start a new range selection if noUnset and selected date is in existing range
pdanpdan added a commit to pdanpdan/quasar that referenced this issue Mar 25, 2022
…mall years; fix subtractFromDate/addToDate incorrect end of month day quasarframework#5434, quasarframework#7076, quasarframework#7290, quasarframework#8037, quasarframework#8658, quasarframework#8918, quasarframework#8926, quasarframework#9704, quasarframework#9704, quasarframework#12270, quasarframework#11730, quasarframework#12783

- add modelNavigation prop
- add range-change event
- fix cached function when changing from persian to gregorian calendars
- fix viewModel as text
- add more examples
- fix processing of years between 0 and 99
- fix subtractFromDate/addToDate incorrect end of month day
- start a new range selection if noUnset and selected date is in existing range
pdanpdan added a commit to pdanpdan/quasar that referenced this issue Mar 25, 2022
…mall years; fix subtractFromDate/addToDate incorrect end of month day quasarframework#5434, quasarframework#7076, quasarframework#7290, quasarframework#8037, quasarframework#8658, quasarframework#8918, quasarframework#8926, quasarframework#9704, quasarframework#9704, quasarframework#12270, quasarframework#11730, quasarframework#12783

- add modelNavigation prop
- add range-change event
- fix cached function when changing from persian to gregorian calendars
- fix viewModel as text
- add more examples
- fix processing of years between 0 and 99
- fix subtractFromDate/addToDate incorrect end of month day
- start a new range selection if noUnset and selected date is in existing range
pdanpdan added a commit to pdanpdan/quasar that referenced this issue Mar 27, 2022
…mall years; fix subtractFromDate/addToDate incorrect end of month day quasarframework#5434, quasarframework#7076, quasarframework#7290, quasarframework#8037, quasarframework#8658, quasarframework#8918, quasarframework#8926, quasarframework#9704, quasarframework#9704, quasarframework#12270, quasarframework#11730, quasarframework#12783

- add modelNavigation prop
- add range-change event
- fix cached function when changing from persian to gregorian calendars
- fix viewModel as text
- add more examples
- fix processing of years between 0 and 99
- fix subtractFromDate/addToDate incorrect end of month day
- start a new range selection if noUnset and selected date is in existing range
pdanpdan added a commit to pdanpdan/quasar that referenced this issue Mar 27, 2022
…mall years; fix subtractFromDate/addToDate incorrect end of month day quasarframework#5434, quasarframework#7076, quasarframework#7290, quasarframework#8037, quasarframework#8658, quasarframework#8918, quasarframework#8926, quasarframework#9704, quasarframework#9704, quasarframework#12270, quasarframework#11730, quasarframework#12783

- add modelNavigation prop
- add range-change event
- fix cached function when changing from persian to gregorian calendars
- fix viewModel as text
- add more examples
- fix processing of years between 0 and 99
- fix subtractFromDate/addToDate incorrect end of month day
- start a new range selection if noUnset and selected date is in existing range
pdanpdan added a commit to pdanpdan/quasar that referenced this issue Mar 28, 2022
…mall years; fix subtractFromDate/addToDate incorrect end of month day quasarframework#5434, quasarframework#7076, quasarframework#7290, quasarframework#8037, quasarframework#8658, quasarframework#8918, quasarframework#8926, quasarframework#9704, quasarframework#9704, quasarframework#12270, quasarframework#11730, quasarframework#12783

- add modelNavigation prop
- add range-change event
- fix cached function when changing from persian to gregorian calendars
- fix viewModel as text
- add more examples
- fix processing of years between 0 and 99
- fix subtractFromDate/addToDate incorrect end of month day
- start a new range selection if noUnset and selected date is in existing range
pdanpdan added a commit to pdanpdan/quasar that referenced this issue Mar 29, 2022
…mall years; fix subtractFromDate/addToDate incorrect end of month day quasarframework#5434, quasarframework#7076, quasarframework#7290, quasarframework#8037, quasarframework#8658, quasarframework#8918, quasarframework#8926, quasarframework#9704, quasarframework#9704, quasarframework#12270, quasarframework#11730, quasarframework#12783

- add modelNavigation prop
- add range-change event
- fix cached function when changing from persian to gregorian calendars
- fix viewModel as text
- add more examples
- fix processing of years between 0 and 99
- fix subtractFromDate/addToDate incorrect end of month day
- start a new range selection if noUnset and selected date is in existing range
pdanpdan added a commit to pdanpdan/quasar that referenced this issue Mar 30, 2022
…mall years; fix subtractFromDate/addToDate incorrect end of month day quasarframework#5434, quasarframework#7076, quasarframework#7290, quasarframework#8037, quasarframework#8658, quasarframework#8918, quasarframework#8926, quasarframework#9704, quasarframework#9704, quasarframework#12270, quasarframework#11730, quasarframework#12783

- add modelNavigation prop
- add range-change event
- fix cached function when changing from persian to gregorian calendars
- fix viewModel as text
- add more examples
- fix processing of years between 0 and 99
- fix subtractFromDate/addToDate incorrect end of month day
- start a new range selection if noUnset and selected date is in existing range
pdanpdan added a commit to pdanpdan/quasar that referenced this issue Mar 30, 2022
…mall years; fix subtractFromDate/addToDate incorrect end of month day quasarframework#5434, quasarframework#7076, quasarframework#7290, quasarframework#8037, quasarframework#8658, quasarframework#8918, quasarframework#8926, quasarframework#9704, quasarframework#9704, quasarframework#12270, quasarframework#11730, quasarframework#12783

- add modelNavigation prop
- add range-change event
- fix cached function when changing from persian to gregorian calendars
- fix viewModel as text
- add more examples
- fix processing of years between 0 and 99
- fix subtractFromDate/addToDate incorrect end of month day
- start a new range selection if noUnset and selected date is in existing range
pdanpdan added a commit to pdanpdan/quasar that referenced this issue Mar 30, 2022
…mall years; fix subtractFromDate/addToDate incorrect end of month day quasarframework#5434, quasarframework#7076, quasarframework#7290, quasarframework#8037, quasarframework#8658, quasarframework#8918, quasarframework#8926, quasarframework#9704, quasarframework#9704, quasarframework#12270, quasarframework#11730, quasarframework#12783

- add modelNavigation prop
- add range-change event
- fix cached function when changing from persian to gregorian calendars
- fix viewModel as text
- add more examples
- fix processing of years between 0 and 99
- fix subtractFromDate/addToDate incorrect end of month day
- start a new range selection if noUnset and selected date is in existing range
pdanpdan added a commit to pdanpdan/quasar that referenced this issue Jan 5, 2023
…mall years; fix subtractFromDate/addToDate incorrect end of month day quasarframework#5434, quasarframework#7076, quasarframework#7290, quasarframework#8037, quasarframework#8658, quasarframework#8918, quasarframework#8926, quasarframework#9704, quasarframework#9704, quasarframework#12270, quasarframework#11730, quasarframework#12783

- add modelNavigation prop
- add range-change event
- fix cached function when changing from persian to gregorian calendars
- fix viewModel as text
- add more examples
- fix processing of years between 0 and 99
- fix subtractFromDate/addToDate incorrect end of month day
- start a new range selection if noUnset and selected date is in existing range
pdanpdan added a commit to pdanpdan/quasar that referenced this issue Jan 8, 2023
…mall years; fix subtractFromDate/addToDate incorrect end of month day quasarframework#5434, quasarframework#7076, quasarframework#7290, quasarframework#8037, quasarframework#8658, quasarframework#8918, quasarframework#8926, quasarframework#9704, quasarframework#9704, quasarframework#12270, quasarframework#11730, quasarframework#12783

- add modelNavigation prop
- add range-change event
- fix cached function when changing from persian to gregorian calendars
- fix viewModel as text
- add more examples
- fix processing of years between 0 and 99
- fix subtractFromDate/addToDate incorrect end of month day
- start a new range selection if noUnset and selected date is in existing range
pdanpdan added a commit to pdanpdan/quasar that referenced this issue Jan 10, 2023
…mall years; fix subtractFromDate/addToDate incorrect end of month day quasarframework#5434, quasarframework#7076, quasarframework#7290, quasarframework#8037, quasarframework#8658, quasarframework#8918, quasarframework#8926, quasarframework#9704, quasarframework#9704, quasarframework#12270, quasarframework#11730, quasarframework#12783

- add modelNavigation prop
- add range-change event
- fix cached function when changing from persian to gregorian calendars
- fix viewModel as text
- add more examples
- fix processing of years between 0 and 99
- fix subtractFromDate/addToDate incorrect end of month day
- start a new range selection if noUnset and selected date is in existing range
pdanpdan added a commit to pdanpdan/quasar that referenced this issue Jan 11, 2023
…mall years; fix subtractFromDate/addToDate incorrect end of month day quasarframework#5434, quasarframework#7076, quasarframework#7290, quasarframework#8037, quasarframework#8658, quasarframework#8918, quasarframework#8926, quasarframework#9704, quasarframework#9704, quasarframework#12270, quasarframework#11730, quasarframework#12783

- add modelNavigation prop
- add range-change event
- fix cached function when changing from persian to gregorian calendars
- fix viewModel as text
- add more examples
- fix processing of years between 0 and 99
- fix subtractFromDate/addToDate incorrect end of month day
- start a new range selection if noUnset and selected date is in existing range
pdanpdan added a commit to pdanpdan/quasar that referenced this issue Jan 11, 2023
…mall years; fix subtractFromDate/addToDate incorrect end of month day quasarframework#5434, quasarframework#7076, quasarframework#7290, quasarframework#8037, quasarframework#8658, quasarframework#8918, quasarframework#8926, quasarframework#9704, quasarframework#9704, quasarframework#12270, quasarframework#11730, quasarframework#12783

- add modelNavigation prop
- add range-change event
- fix cached function when changing from persian to gregorian calendars
- fix viewModel as text
- add more examples
- fix processing of years between 0 and 99
- fix subtractFromDate/addToDate incorrect end of month day
- start a new range selection if noUnset and selected date is in existing range
pdanpdan added a commit to pdanpdan/quasar that referenced this issue Jan 15, 2023
…mall years; fix subtractFromDate/addToDate incorrect end of month day quasarframework#5434, quasarframework#7076, quasarframework#7290, quasarframework#8037, quasarframework#8658, quasarframework#8918, quasarframework#8926, quasarframework#9704, quasarframework#9704, quasarframework#12270, quasarframework#11730, quasarframework#12783

- add modelNavigation prop
- add range-change event
- fix cached function when changing from persian to gregorian calendars
- fix viewModel as text
- add more examples
- fix processing of years between 0 and 99
- fix subtractFromDate/addToDate incorrect end of month day
- start a new range selection if noUnset and selected date is in existing range
pdanpdan added a commit to pdanpdan/quasar that referenced this issue Jan 16, 2023
…mall years; fix subtractFromDate/addToDate incorrect end of month day quasarframework#5434, quasarframework#7076, quasarframework#7290, quasarframework#8037, quasarframework#8658, quasarframework#8918, quasarframework#8926, quasarframework#9704, quasarframework#9704, quasarframework#12270, quasarframework#11730, quasarframework#12783

- add modelNavigation prop
- add range-change event
- fix cached function when changing from persian to gregorian calendars
- fix viewModel as text
- add more examples
- fix processing of years between 0 and 99
- fix subtractFromDate/addToDate incorrect end of month day
- start a new range selection if noUnset and selected date is in existing range
pdanpdan added a commit to pdanpdan/quasar that referenced this issue Jan 19, 2023
…mall years; fix subtractFromDate/addToDate incorrect end of month day quasarframework#5434, quasarframework#7076, quasarframework#7290, quasarframework#8037, quasarframework#8658, quasarframework#8918, quasarframework#8926, quasarframework#9704, quasarframework#9704, quasarframework#12270, quasarframework#11730, quasarframework#12783

- add modelNavigation prop
- add range-change event
- fix cached function when changing from persian to gregorian calendars
- fix viewModel as text
- add more examples
- fix processing of years between 0 and 99
- fix subtractFromDate/addToDate incorrect end of month day
- start a new range selection if noUnset and selected date is in existing range
pdanpdan added a commit to pdanpdan/quasar that referenced this issue Feb 7, 2023
…mall years; fix subtractFromDate/addToDate incorrect end of month day quasarframework#5434, quasarframework#7076, quasarframework#7290, quasarframework#8037, quasarframework#8658, quasarframework#8918, quasarframework#8926, quasarframework#9704, quasarframework#9704, quasarframework#12270, quasarframework#11730, quasarframework#12783

- add modelNavigation prop
- add range-change event
- fix cached function when changing from persian to gregorian calendars
- fix viewModel as text
- add more examples
- fix processing of years between 0 and 99
- fix subtractFromDate/addToDate incorrect end of month day
- start a new range selection if noUnset and selected date is in existing range
pdanpdan added a commit to pdanpdan/quasar that referenced this issue Feb 15, 2023
…mall years; fix subtractFromDate/addToDate incorrect end of month day quasarframework#5434, quasarframework#7076, quasarframework#7290, quasarframework#8037, quasarframework#8658, quasarframework#8918, quasarframework#8926, quasarframework#9704, quasarframework#9704, quasarframework#12270, quasarframework#11730, quasarframework#12783

- add modelNavigation prop
- add range-change event
- fix cached function when changing from persian to gregorian calendars
- fix viewModel as text
- add more examples
- fix processing of years between 0 and 99
- fix subtractFromDate/addToDate incorrect end of month day
- start a new range selection if noUnset and selected date is in existing range
pdanpdan added a commit to pdanpdan/quasar that referenced this issue Mar 1, 2023
…mall years; fix subtractFromDate/addToDate incorrect end of month day quasarframework#5434, quasarframework#7076, quasarframework#7290, quasarframework#8037, quasarframework#8658, quasarframework#8918, quasarframework#8926, quasarframework#9704, quasarframework#9704, quasarframework#12270, quasarframework#11730, quasarframework#12783

- add modelNavigation prop
- add range-change event
- fix cached function when changing from persian to gregorian calendars
- fix viewModel as text
- add more examples
- fix processing of years between 0 and 99
- fix subtractFromDate/addToDate incorrect end of month day
- start a new range selection if noUnset and selected date is in existing range
pdanpdan added a commit to pdanpdan/quasar that referenced this issue Mar 2, 2023
…mall years; fix subtractFromDate/addToDate incorrect end of month day quasarframework#5434, quasarframework#7076, quasarframework#7290, quasarframework#8037, quasarframework#8658, quasarframework#8918, quasarframework#8926, quasarframework#9704, quasarframework#9704, quasarframework#12270, quasarframework#11730, quasarframework#12783

- add modelNavigation prop
- add range-change event
- fix cached function when changing from persian to gregorian calendars
- fix viewModel as text
- add more examples
- fix processing of years between 0 and 99
- fix subtractFromDate/addToDate incorrect end of month day
- start a new range selection if noUnset and selected date is in existing range
pdanpdan added a commit to pdanpdan/quasar that referenced this issue Mar 9, 2023
…mall years; fix subtractFromDate/addToDate incorrect end of month day quasarframework#5434, quasarframework#7076, quasarframework#7290, quasarframework#8037, quasarframework#8658, quasarframework#8918, quasarframework#8926, quasarframework#9704, quasarframework#9704, quasarframework#12270, quasarframework#11730, quasarframework#12783

- add modelNavigation prop
- add range-change event
- fix cached function when changing from persian to gregorian calendars
- fix viewModel as text
- add more examples
- fix processing of years between 0 and 99
- fix subtractFromDate/addToDate incorrect end of month day
- start a new range selection if noUnset and selected date is in existing range
pdanpdan added a commit to pdanpdan/quasar that referenced this issue Mar 17, 2023
…mall years; fix subtractFromDate/addToDate incorrect end of month day quasarframework#5434, quasarframework#7076, quasarframework#7290, quasarframework#8037, quasarframework#8658, quasarframework#8918, quasarframework#8926, quasarframework#9704, quasarframework#9704, quasarframework#12270, quasarframework#11730, quasarframework#12783

- add modelNavigation prop
- add range-change event
- fix cached function when changing from persian to gregorian calendars
- fix viewModel as text
- add more examples
- fix processing of years between 0 and 99
- fix subtractFromDate/addToDate incorrect end of month day
- start a new range selection if noUnset and selected date is in existing range
pdanpdan added a commit to pdanpdan/quasar that referenced this issue Mar 17, 2023
…mall years; fix subtractFromDate/addToDate incorrect end of month day quasarframework#5434, quasarframework#7076, quasarframework#7290, quasarframework#8037, quasarframework#8658, quasarframework#8918, quasarframework#8926, quasarframework#9704, quasarframework#9704, quasarframework#12270, quasarframework#11730, quasarframework#12783

- add modelNavigation prop
- add range-change event
- fix cached function when changing from persian to gregorian calendars
- fix viewModel as text
- add more examples
- fix processing of years between 0 and 99
- fix subtractFromDate/addToDate incorrect end of month day
- start a new range selection if noUnset and selected date is in existing range
pdanpdan added a commit to pdanpdan/quasar that referenced this issue Mar 17, 2023
…mall years; fix subtractFromDate/addToDate incorrect end of month day quasarframework#5434, quasarframework#7076, quasarframework#7290, quasarframework#8037, quasarframework#8658, quasarframework#8918, quasarframework#8926, quasarframework#9704, quasarframework#9704, quasarframework#12270, quasarframework#11730, quasarframework#12783

- add modelNavigation prop
- add range-change event
- fix cached function when changing from persian to gregorian calendars
- fix viewModel as text
- add more examples
- fix processing of years between 0 and 99
- fix subtractFromDate/addToDate incorrect end of month day
- start a new range selection if noUnset and selected date is in existing range
pdanpdan added a commit to pdanpdan/quasar that referenced this issue Mar 21, 2023
…mall years; fix subtractFromDate/addToDate incorrect end of month day quasarframework#5434, quasarframework#7076, quasarframework#7290, quasarframework#8037, quasarframework#8658, quasarframework#8918, quasarframework#8926, quasarframework#9704, quasarframework#9704, quasarframework#12270, quasarframework#11730, quasarframework#12783

- add modelNavigation prop
- add range-change event
- fix cached function when changing from persian to gregorian calendars
- fix viewModel as text
- add more examples
- fix processing of years between 0 and 99
- fix subtractFromDate/addToDate incorrect end of month day
- start a new range selection if noUnset and selected date is in existing range
pdanpdan added a commit to pdanpdan/quasar that referenced this issue Mar 21, 2023
…mall years; fix subtractFromDate/addToDate incorrect end of month day quasarframework#5434, quasarframework#7076, quasarframework#7290, quasarframework#8037, quasarframework#8658, quasarframework#8918, quasarframework#8926, quasarframework#9704, quasarframework#9704, quasarframework#12270, quasarframework#11730, quasarframework#12783

- add modelNavigation prop
- add range-change event
- fix cached function when changing from persian to gregorian calendars
- fix viewModel as text
- add more examples
- fix processing of years between 0 and 99
- fix subtractFromDate/addToDate incorrect end of month day
- start a new range selection if noUnset and selected date is in existing range
pdanpdan added a commit to pdanpdan/quasar that referenced this issue Mar 31, 2023
…mall years; fix subtractFromDate/addToDate incorrect end of month day quasarframework#5434, quasarframework#7076, quasarframework#7290, quasarframework#8037, quasarframework#8658, quasarframework#8918, quasarframework#8926, quasarframework#9704, quasarframework#9704, quasarframework#12270, quasarframework#11730, quasarframework#12783

- add modelNavigation prop
- add range-change event
- fix cached function when changing from persian to gregorian calendars
- fix viewModel as text
- add more examples
- fix processing of years between 0 and 99
- fix subtractFromDate/addToDate incorrect end of month day
- start a new range selection if noUnset and selected date is in existing range
pdanpdan added a commit to pdanpdan/quasar that referenced this issue Apr 4, 2023
…mall years; fix subtractFromDate/addToDate incorrect end of month day quasarframework#5434, quasarframework#7076, quasarframework#7290, quasarframework#8037, quasarframework#8658, quasarframework#8918, quasarframework#8926, quasarframework#9704, quasarframework#9704, quasarframework#12270, quasarframework#11730, quasarframework#12783

- add modelNavigation prop
- add range-change event
- fix cached function when changing from persian to gregorian calendars
- fix viewModel as text
- add more examples
- fix processing of years between 0 and 99
- fix subtractFromDate/addToDate incorrect end of month day
- start a new range selection if noUnset and selected date is in existing range
pdanpdan added a commit to pdanpdan/quasar that referenced this issue Apr 27, 2023
…mall years; fix subtractFromDate/addToDate incorrect end of month day quasarframework#5434, quasarframework#7076, quasarframework#7290, quasarframework#8037, quasarframework#8658, quasarframework#8918, quasarframework#8926, quasarframework#9704, quasarframework#9704, quasarframework#12270, quasarframework#11730, quasarframework#12783

- add modelNavigation prop
- add range-change event
- fix cached function when changing from persian to gregorian calendars
- fix viewModel as text
- add more examples
- fix processing of years between 0 and 99
- fix subtractFromDate/addToDate incorrect end of month day
- start a new range selection if noUnset and selected date is in existing range
pdanpdan added a commit to pdanpdan/quasar that referenced this issue May 4, 2023
…mall years; fix subtractFromDate/addToDate incorrect end of month day quasarframework#5434, quasarframework#7076, quasarframework#7290, quasarframework#8037, quasarframework#8658, quasarframework#8918, quasarframework#8926, quasarframework#9704, quasarframework#9704, quasarframework#12270, quasarframework#11730, quasarframework#12783

- add modelNavigation prop
- add range-change event
- fix cached function when changing from persian to gregorian calendars
- fix viewModel as text
- add more examples
- fix processing of years between 0 and 99
- fix subtractFromDate/addToDate incorrect end of month day
- start a new range selection if noUnset and selected date is in existing range
pdanpdan added a commit to pdanpdan/quasar that referenced this issue May 5, 2023
…mall years; fix subtractFromDate/addToDate incorrect end of month day quasarframework#5434, quasarframework#7076, quasarframework#7290, quasarframework#8037, quasarframework#8658, quasarframework#8918, quasarframework#8926, quasarframework#9704, quasarframework#9704, quasarframework#12270, quasarframework#11730, quasarframework#12783

- add modelNavigation prop
- add range-change event
- fix cached function when changing from persian to gregorian calendars
- fix viewModel as text
- add more examples
- fix processing of years between 0 and 99
- fix subtractFromDate/addToDate incorrect end of month day
- start a new range selection if noUnset and selected date is in existing range
pdanpdan added a commit to pdanpdan/quasar that referenced this issue May 12, 2023
…mall years; fix subtractFromDate/addToDate incorrect end of month day quasarframework#5434, quasarframework#7076, quasarframework#7290, quasarframework#8037, quasarframework#8658, quasarframework#8918, quasarframework#8926, quasarframework#9704, quasarframework#9704, quasarframework#12270, quasarframework#11730, quasarframework#12783

- add modelNavigation prop
- add range-change event
- fix cached function when changing from persian to gregorian calendars
- fix viewModel as text
- add more examples
- fix processing of years between 0 and 99
- fix subtractFromDate/addToDate incorrect end of month day
- start a new range selection if noUnset and selected date is in existing range
@yusufkandemir yusufkandemir changed the title set default start day of week to saturday problem getDayOfWeek util doesn't respect the active language pack Aug 25, 2023
pdanpdan added a commit to pdanpdan/quasar that referenced this issue Sep 4, 2023
…mall years; fix subtractFromDate/addToDate incorrect end of month day quasarframework#5434, quasarframework#7076, quasarframework#7290, quasarframework#8037, quasarframework#8658, quasarframework#8918, quasarframework#8926, quasarframework#9704, quasarframework#9704, quasarframework#12270, quasarframework#11730, quasarframework#12783

- add modelNavigation prop
- add range-change event
- fix cached function when changing from persian to gregorian calendars
- fix viewModel as text
- add more examples
- fix processing of years between 0 and 99
- fix subtractFromDate/addToDate incorrect end of month day
- start a new range selection if noUnset and selected date is in existing range
pdanpdan added a commit to pdanpdan/quasar that referenced this issue Sep 8, 2023
…mall years; fix subtractFromDate/addToDate incorrect end of month day quasarframework#5434, quasarframework#7076, quasarframework#7290, quasarframework#8037, quasarframework#8658, quasarframework#8918, quasarframework#8926, quasarframework#9704, quasarframework#9704, quasarframework#12270, quasarframework#11730, quasarframework#12783

- add modelNavigation prop
- add range-change event
- fix cached function when changing from persian to gregorian calendars
- fix viewModel as text
- add more examples
- fix processing of years between 0 and 99
- fix subtractFromDate/addToDate incorrect end of month day
- start a new range selection if noUnset and selected date is in existing range
pdanpdan added a commit to pdanpdan/quasar that referenced this issue Oct 21, 2023
…mall years; fix subtractFromDate/addToDate incorrect end of month day quasarframework#5434, quasarframework#7076, quasarframework#7290, quasarframework#8037, quasarframework#8658, quasarframework#8918, quasarframework#8926, quasarframework#9704, quasarframework#9704, quasarframework#12270, quasarframework#11730, quasarframework#12783

- add modelNavigation prop
- add range-change event
- fix cached function when changing from persian to gregorian calendars
- fix viewModel as text
- add more examples
- fix processing of years between 0 and 99
- fix subtractFromDate/addToDate incorrect end of month day
- start a new range selection if noUnset and selected date is in existing range
pdanpdan added a commit to pdanpdan/quasar that referenced this issue Oct 21, 2023
…mall years; fix subtractFromDate/addToDate incorrect end of month day quasarframework#5434, quasarframework#7076, quasarframework#7290, quasarframework#8037, quasarframework#8658, quasarframework#8918, quasarframework#8926, quasarframework#9704, quasarframework#9704, quasarframework#12270, quasarframework#11730, quasarframework#12783

- add modelNavigation prop
- add range-change event
- fix cached function when changing from persian to gregorian calendars
- fix viewModel as text
- add more examples
- fix processing of years between 0 and 99
- fix subtractFromDate/addToDate incorrect end of month day
- start a new range selection if noUnset and selected date is in existing range
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants