olton / Metro-UI-CSS

Impressive component library for expressive web development! Build responsive projects on the web with the first front-end component library in Metro Style. And now there are even more opportunities every day!
http://metroui.org.ua/
MIT License
7.04k stars 1.96k forks source link

Calendar OFF by 1 day #1922

Closed festing closed 8 months ago

festing commented 9 months ago

Calendar dates: 6/4-24 - 6/8/24

I have tried changing various date formats- NOTHING works. Calendar is always 1 day shifted. ![cal off](https://github.com/olton/Metro-UI-CSS/assets/20490535/21985c2d-be79-41bd-a596-c932af243290)
olton commented 9 months ago

Please, create a pen with your problem code on codepen.io

festing commented 9 months ago

Some further research... the actual problem is the 1st day of the month is off by 1. Example from above- JUNE 1 is SATURDAY- NOT SUNDAY!!!!! Calendar is currently unusable. How to fix????

olton commented 9 months ago

What is your timezone?

olton commented 9 months ago

image

olton commented 9 months ago

Use the latest version: dev branch, or 4.5.12-rc11 if you use from npm

festing commented 9 months ago

I'm using CDN. I'm in US Central on a development PC. All indications are my pc is set correctly What/where would I look to find what system function is effecting this calendar generation

festing commented 9 months ago

Also, i'm uploading to a test server (offsite). SAME issue exists on that system as well, so I'm unconvinced it's MY pc. Something in coding I suspect.

olton commented 9 months ago

I'm using CDN. I'm in US Central on a development PC. All indications are my pc is set correctly What/where would I look to find what system function is effecting this calendar generation

<link rel="stylesheet" href="https://cdn.metroui.org.ua/dev/metro.css">
<script src="https://cdn.metroui.org.ua/dev/metro.js"></script>
festing commented 8 months ago

UGH... When I add the dev links, the calendar works but all the ICONS are gone....

olton commented 8 months ago
<link rel="stylesheet" href="https://cdn.metroui.org.ua/dev/icons.css">