Facebook  Twitter 

SMFHacks.com

+- +-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 12406
Latest: Lavoipa
New This Month: 5
New This Week: 1
New Today: 0
Stats
Total Posts: 40741
Total Topics: 7144
Most Online Today: 31
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 28
Total: 28

Author Topic: Leap Year bug  (Read 1935 times)

0 Members and 1 Guest are viewing this topic.

Offline 3dphoto

  • Newbie
  • *
  • 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

  • Newbie
  • *
  • 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: 15356
    • 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

  • Newbie
  • *
  • 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
4515 Views
Last post July 01, 2008, 02:47:02 am
by AbsoluteBreeze
5 Replies
9697 Views
Last post November 27, 2016, 09:46:22 pm
by PyroTech03
1 Replies
1092 Views
Last post December 26, 2020, 11:50:59 pm
by SMFHacks

+- Recent Topics

Forum ToolBox by Monocero
February 25, 2021, 04:07:34 am

How to I copy SMF Gallery to a new host? by SMFHacks
February 21, 2021, 09:14:12 am

[Mod]Discord Who's Online by SMFHacks
February 15, 2021, 11:02:21 am

Gallery Pro 3.0.25 to Current by SMFHacks
February 08, 2021, 09:10:24 am

A new error with 5.0.4 by SMFHacks
February 06, 2021, 09:32:21 am

Some errors in the log (low priority) by SMFHacks
February 05, 2021, 08:52:51 am

Ad Seller error in the log by Vincent Volmer
February 04, 2021, 02:37:54 am

Another error using the Alternative PayPall Address by KKOG
February 01, 2021, 07:33:04 pm

SMF 2.0.18 Released by SMFHacks
February 01, 2021, 04:36:48 pm

website locked up after trying to uninstall 9.0 beta by SMFHacks
February 01, 2021, 12:41:59 pm

Powered by EzPortal