changes to sms packages and option to create user
This commit is contained in:
@@ -38,8 +38,10 @@ public static function toDate(?string $raw): ?string
|
||||
// Rebuild date with corrected year
|
||||
$month = (int) $dt->format('m');
|
||||
$day = (int) $dt->format('d');
|
||||
|
||||
return sprintf('%04d-%02d-%02d', $year, $month, $day);
|
||||
}
|
||||
|
||||
return $dt->format('Y-m-d');
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user