2023/02/06#p1
Kevin has been keeping a changelog of how he is customising hyblog to his own preferences or issues he has found.
He discovered a bug with comments not being deleted when it definitely used to work before. I was getting the same problem on my installation. I must have made a change and not fully regression tested it but can't think what it was.
Anyway, I've fixed it now by reworking the relevant page.
2023/02/06#p2
A feature request for hyblog was to have a choice of date format. Obviously, when I created it, it was just set as the UK format of dd/mm/yyyy. Now, I've added an option to setup to choose between UK and US formats.
An existing installation would only need two simple changes:
- add a constant to config.php, e.g.
define("DATEFORMAT", "m/d/Y");
- replace the date format on line 105 of hyblog.php:
<?php echo ($today == $date) ? 'Today' : date(DATEFORMAT, strtotime($date)); ?>
I've always had the choice in (b)log-In but it's good to have it in hyblog as well.