Handle scientific notation date

Created on 7 July 2016, almost 8 years ago
Updated 4 February 2024, 5 months ago

On Windows machine "Cron jobs" page does not load. The reason why is
$log_entry->start_time
in
src/CronJobListBuilder.php
returns scientific notation format, i.e. 1.46728e+09. Because of that, we get "The timestamp must be numeric." error while trying to open page.

πŸ› Bug report
Status

Closed: outdated

Version

2.0

Component

Code

Created by

πŸ‡¬πŸ‡§United Kingdom audriusb

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡¨πŸ‡­Switzerland Berdir Switzerland

    No idea that's due to a mysql sql server or something, but as #4 said, you can't just convert that to a float if it's not.

    apparently hasn't happened again in 7 years, so just closing that, feel free to reopen if it's still happening and can be properly fixed.

Production build 0.69.0 2024