SnailyCAD / snaily-cadv4

💻 An open source Computer Aided Dispatch (CAD) for FiveM, this is a web based integration for communities who love police roleplaying and dispatching. Discord: https://discord.gg/eGnrPqEH7U
https://docs.snailycad.org/docs/getting-started
MIT License
140 stars 85 forks source link

Citizens aren't released from jail automatically when time scaling is set to hours #1885

Closed AjaxTheGod closed 8 months ago

AjaxTheGod commented 8 months ago

What version of Node.js are you using?

1.78.5

What operating system are you using?

Debian12

What version of SnailyCAD are you currently using?

1.78.5

Describe the Bug

Our time scaling is set to "Hours" and citizens aren't being automatically released from jail. We tested it with minutes and it worked just fine, however. Never tested with seconds.

Expected Behavior

Citizens should be released from jail automatically when their sentence in CAD has concluded.

To Reproduce

Set time scaling to hours in CAD settings and jail a citizen for 1 hour then check back. They will still be in jail.

casperiv0 commented 8 months ago

This has already been fixed. See the Discord thread.