Facebook  Twitter 

SMFHacks.com

+-

SMFHacks.com

+- User Information

Welcome, Guest.
Please login or register.
 
 
 
Forgot your password?

+- Forum Stats

Members
Total Members: 4267
Latest: ramiroelliot
New This Month: 2
New This Week: 3
New Today: 0
Stats
Total Posts: 43527
Total Topics: 7565
Most Online Today: 56
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 49
Total: 49

Author Topic: Leap Year bug  (Read 3191 times)

0 Members and 1 Guest are viewing this topic.

Offline 3dphoto

  • Member
  • *
  • Posts: 10
    • View Profile
Leap Year bug
« on: January 31, 2016, 10:56:56 pm »
Minor issue- I cannot select Feb 29th as a termination date for an ad- it forces it to be February 28th.  This is a leap year... might want to add that check for February dates. :)

Thanks,
Jeff

Offline 3dphoto

  • Member
  • *
  • Posts: 10
    • View Profile
Re: Leap Year bug
« Reply #1 on: January 31, 2016, 11:17:11 pm »
I'm reassessing this- I set another ad to run Feb 1-7, but it showed it would terminate on Feb 6.  So I went back and edited the one ending in February, and set it to Feb 30, and it showed Feb 29.  So it's set to n-1.  I'm not sure if that's a bug or design, but having to set a date to Feb 30 to get Feb 29 doesn't make sense, necessarily.  I just checked- it snapped Feb 30 to Mar 1 after I saved it.

Anyway- so I take it that if I set a date range of Feb 1-Feb 7, at Feb 7 00:00 time it stops?

Thanks,
Jeff

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16557
    • View Profile
Re: Leap Year bug
« Reply #2 on: February 01, 2016, 10:56:22 am »
Made a change. Copy the attached file to your sources folder try it out and let me know. For SMF 2.0.x
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline 3dphoto

  • Member
  • *
  • Posts: 10
    • View Profile
Re: Leap Year bug
« Reply #3 on: February 01, 2016, 07:43:03 pm »
Thanks for the quick turnaround!  Yes- once I touch the ad and save it again, it fixes the date.

Jeff

 

Related Topics

  Subject / Started by Replies Last post
2 Replies
5495 Views
Last post July 01, 2008, 02:47:02 am
by AbsoluteBreeze
5 Replies
12291 Views
Last post November 27, 2016, 09:46:22 pm
by PyroTech03
1 Replies
10315 Views
Last post December 26, 2020, 11:50:59 pm
by SMFHacks

+- Recent Topics

quoting part of message by Lirorobert
Today at 03:21:40 pm

Gallery Pro reinstalation by SMFHacks
Today at 07:34:26 am

Does SMF Gallery support by SMFHacks
October 02, 2024, 06:14:26 am

Restoring a deleted photo by Monocero
September 28, 2024, 04:12:20 am

Item count on Gallery Tab shows double by SMFHacks
September 26, 2024, 12:59:20 pm

Forum post missing when image over 4000x pixels is uploaded to gallery by Michel68
September 24, 2024, 01:37:17 pm

Setting a photo as invisible by Monocero
September 17, 2024, 02:11:56 pm

Two gallery names by SMFHacks
September 15, 2024, 02:17:49 pm

Bar during the regeneration of miniatures by Monocero
September 15, 2024, 12:35:08 pm

Error on upgrade by SMFHacks
September 14, 2024, 09:54:07 pm

Powered by EzPortal