Похожие чаты

I'M developing a lending app and am having some difficulties. It

would be extremely great if you could suggest a solution to this problem.
(I've already Googled but haven't come up with a satisfactory answer.)
So, when a new customer applies for a loan, we generate a loan schedule starting on the 1st of the month and save the date in UTC format in the database.
Now, when we convert the date to their timezone in the frontend, the last day of the month shows (Because of Offset Conversion)
So how do I resolve this issue ?
Should I show Date in UTC format to users ?

6 ответов

7 просмотров

That should be part of the specification. Ask your boss and/or client

Hello-World Автор вопроса
Simen
That should be part of the specification. Ask your...

Ya I'll ask them. But Do you have any idea what time financial websites show their users?

it's a loan. it's dead simple. show them the date when you need your money back😂

Hello-World Автор вопроса

Its not that simple timezone sucks (Because of timezone for some of the loans late fee will be applied). And now what to do on daylight saving time is also left.

Hello World
Its not that simple timezone sucks (Because of tim...

Maybe ask them for their timezone and set their schedule so it matches their timezone?

Hello-World Автор вопроса
Thomas
Maybe ask them for their timezone and set their sc...

then I have to run same cron job for multiple timezone's.

Похожие вопросы

Обсуждают сегодня

я не магистр хаскеля, но разве не может лейзи тип конвертнуться в не-лейзи запросив вычисление содержимого прям при инициализации?
deadgnom32 λ madao
83
читать файл максимально быстро? странный вопрос))
zamtmn
53
30 BCH videos in Hausa Language successfully delivered. In December 2023, I created a Flipstarter to produce Bitcoin Cash videos in the Hausa language for greater outreach an...
Munnir
5
bhai koi aur group ha crpto discussion ke liye?
ashu bhardwaj
12
I saw that? Again sounds very good for WOD i am DYP investor and holder, from which WOD was created right? Ill ask the question again Dhoni do i as a DYP holder for more than ...
DavidAkaLugi
9
Интересно, а майкрософт 365 может запустится на линукс минт?
Лисицка
18
How to create an OS in C? what to study?
Linus
18
Всем доброго вечера! Хочу поделиться своим злоключением с человеком, который, как оказалось сюда тоже скидывал свое резюме. Жаль, что я вашу группу не нашел раньше… человек ки...
Роман Ахмедзянов
4
братва! где куличи брать?
Alöscha
25
тоесть, указав return eax, сгенерируется никому ненужная инструкция mov eax,eax ?
Aiwan \ (•◡•) / _bot
24
Карта сайта