Invalid date issues
Unanswered
Scaly-naped Pigeon posted this in #help-forum
Scaly-naped PigeonOP
I moved to moment and moment-timezone and everything was working fine with Bun.JS locally without any issues but when I moved to production my vps uses bun start but everything is invalid , also I remove node_modules and started npm install with npm run dev and every date is also invalid , why it works with bun but not working with npm ?
2 Replies
Pacific sand lance
probably ur server has different timezone
@Pacific sand lance probably ur server has different timezone
Scaly-naped PigeonOP
its the same timezone but my frontend has a countdown , if the user change his local machine timezone he can exploit the system and increase the time of the exam