Facebook  Twitter 

SMFHacks.com

+-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 4257
Latest: Alex998.
New This Month: 1
New This Week: 0
New Today: 0
Stats
Total Posts: 43295
Total Topics: 7523
Most Online Today: 241
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 260
Total: 260

Author Topic: Leap Year bug  (Read 3019 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: 16452
    • 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
5446 Views
Last post July 01, 2008, 02:47:02 am
by AbsoluteBreeze
5 Replies
12057 Views
Last post November 27, 2016, 09:46:22 pm
by PyroTech03
1 Replies
10112 Views
Last post December 26, 2020, 11:50:59 pm
by SMFHacks

+- Recent Topics

Please Help! by SMFHacks
April 17, 2024, 08:04:55 am

Rate own images by fvlog19
April 11, 2024, 10:56:53 am

Tidy Child Boards on 2.1.4 by SMFHacks
April 04, 2024, 03:54:12 pm

Problems SMF 2.0.19 > 2.1.4 SMF Gallery Pro - Recents Images to overall header by Michel68
March 30, 2024, 12:41:08 pm

Can't DROP 'id_member'; check that column/key exists Datei: by SMFHacks
March 30, 2024, 11:58:20 am

No thumbnails on new uploads by Tonyvic
March 29, 2024, 06:26:18 am

Display the Contact Page for guests by SMFHacks
March 27, 2024, 10:55:43 am

is it possible to add support for odysee.com by fvlog19
March 21, 2024, 08:47:51 am

Request for admin notification by davejo
March 10, 2024, 01:31:59 am

I need help with torrent upload by Ineedsmfhelp
March 09, 2024, 10:01:13 pm

Powered by EzPortal