You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
mdjm_format_short_date() returns invalid date if no date is passed #153
The mdjm_format_short_date() function checks if the $date parameter has been passed to it. If it has not it uses current_time('timestamp') to define $date.
current_time('timestamp') returns the value as a double and therefore our checks to determine if the variable is a unix timestamp are failing.
Activity
Force $date variable to string. Fixes #153