Plugin Author
AITpro
(@aitpro)
Yep, that will not hinder or break functionality, but yeah it needs to fixed. Thanks for catching this.
Plugin Author
AITpro
(@aitpro)
To suppress the php error for now you can add @ until we fix this.
$timestamp = @date_i18n(get_option('date_format'), strtotime("11/15-1976")) . ' - ' . date_i18n(get_option('time_format'), strtotime($date));
Thread Starter
Josh
(@josh401)
You are amazing. Not only a quick response… but also a fix!
I like the way you do business π
Resolved!
Plugin Author
AITpro
(@aitpro)
The official Code Correction:
$timestamp = date_i18n(get_option('date_format'), strtotime("11/15-1976")) . ' - ' . date_i18n(get_option('time_format'), $timeNow + $gmt_offset);
Classic case of stick some code somewhere and forgot to complete it. π I usually add a comment for myself, but forgot that too – “don’t forget to finish this function dummy”. LOL
Thread Starter
Josh
(@josh401)
Lmao – Well, I’d be lying if I said I’ve never done that before π
You know.. been doing it for years… and just today looked at some code I wrote… well, I think I wrote it.. and thought to myself… Did I write that??
These plugins get so darn large and “codey”. I constantly find myself going in and looking for ways to reduce the amount of code.
Comments are becoming my new best friend. I’m having dreams of “slash slash” and “slash asterisk” going through my head all night long!
Comments are becoming my new best friend. I’m having dreams of “slash slash” and “slash asterisk” going through my head all night long!
LOL too :)!
(Apologies for eavesdropping guys, but I could not resist…happy Friday to you both)
Thread Starter
Josh
(@josh401)
See. This is what I’m always preaching about to my friends who rarely use the internet. You never know who is watching from above!!
Howdy Yogi. Last time we spoke I think you were getting ready to board a plane. How was your trip? Business or pleasure?
Plugin Author
AITpro
(@aitpro)
Happy Friday Yogi! Probably my use of “dummy” set off some alarm bells. π
Nah, no alarms – I just happened to see it go by on the backend view and I’m always happy to find someone to joke around with :).
@josh – aside from spending several extra hours in Portland airport – passing the time on the forums makes it more bearable – it was pretty good. Sisters, Oregon -> Eugene (for the Eugene Marathon – my dad was running the half) -> road trip home via east side of Oregon and California to Truckee, CA, stop at our cabin near there and then home to Bay Area…
Thread Starter
Josh
(@josh401)
Very nice – sounds like you did a little mini-marathon yourself!
I’m over on the other side of the mountains, in Kentucky. We just had the Derby here… man. You really get to admire human nature when you have 100,000 people over-crowding the city!
I have lived here my entire life, and never attended the actual Derby race because of the hoards of people π