Welcome to Dream.In.Code
Getting Help is Easy!

Join 136,059 Programmers for FREE! Get instant access to thousands of experts, tutorials, code snippets, and more! There are 1,542 people online right now. Registration is fast and FREE... Join Now!




Error with Snippets

2 Pages V  1 2 >  
Reply to this topicStart new topic

Error with Snippets, Huge Date Mix-Up

gbertoli3
4 Aug, 2008 - 05:37 PM
Post #1

DIC at Heart + Code
Group Icon

Joined: 23 Jun, 2008
Posts: 1,046



Thanked: 17 times
Dream Kudos: 950
My Contributions
I have recently posted a new snippet and when I looked at the Date and it showed that it was from a long time ago
Here is the screenshot I took
IPB Image
User is offlineProfile CardPM
+Quote Post

Martyr2
RE: Error With Snippets
4 Aug, 2008 - 06:02 PM
Post #2

Programming Theoretician
Group Icon

Joined: 18 Apr, 2007
Posts: 5,198



Thanked: 213 times
Expert In: C/C++, Java, VB, VB.NET, C#, PHP, Web Development, HTML & CSS, Javascript

My Contributions
Yeah that happens when the date field is set to null and PHP tries to convert it to date. Recognize Dec 31 1969? It is the day before Epoche time starts on Jan 1 1970 for things like unix timestamping etc.

The snippets and tutorials sections and such have tons of bugs that need to be fixed. In due time they will be. At least I think Chris has that on his todo list.

smile.gif
User is offlineProfile CardPM
+Quote Post

KYA
RE: Error With Snippets
4 Aug, 2008 - 06:02 PM
Post #3

#include <nerd.h>
Group Icon

Joined: 14 Sep, 2007
Posts: 4,776



Thanked: 91 times
Dream Kudos: 1200
My Contributions
Yeah, this has been around a while.
User is online!Profile CardPM
+Quote Post

gbertoli3
RE: Error With Snippets
4 Aug, 2008 - 06:12 PM
Post #4

DIC at Heart + Code
Group Icon

Joined: 23 Jun, 2008
Posts: 1,046



Thanked: 17 times
Dream Kudos: 950
My Contributions
Ok if I see anymore bugs should I report them.
User is offlineProfile CardPM
+Quote Post

Martyr2
RE: Error With Snippets
4 Aug, 2008 - 06:17 PM
Post #5

Programming Theoretician
Group Icon

Joined: 18 Apr, 2007
Posts: 5,198



Thanked: 213 times
Expert In: C/C++, Java, VB, VB.NET, C#, PHP, Web Development, HTML & CSS, Javascript

My Contributions
If you see bugs outside of the snippets section go right ahead and report them. smile.gif

This post has been edited by Martyr2: 4 Aug, 2008 - 06:17 PM
User is offlineProfile CardPM
+Quote Post

gbertoli3
RE: Error With Snippets
4 Aug, 2008 - 06:29 PM
Post #6

DIC at Heart + Code
Group Icon

Joined: 23 Jun, 2008
Posts: 1,046



Thanked: 17 times
Dream Kudos: 950
My Contributions
Ok I will
User is offlineProfile CardPM
+Quote Post

skyhawk133
RE: Error With Snippets
4 Aug, 2008 - 07:40 PM
Post #7

Head DIC Head
Group Icon

Joined: 17 Mar, 2001
Posts: 14,926



Thanked: 47 times
Dream Kudos: 1650
Expert In: Web Development

My Contributions
The snippets section is a disaster, and when I have another $3,000 to pay someone to re-do it (again) I'll make that happen, but for now I'll try to patch the bugs I can. I fixed a lot of the date issues, but I'll have to see why those snippets are showing that way because most of them should be showing correctly. Or something.

*grumbles*

Really unhappy about the whole situation.

Thanks for reporting it though.
User is offlineProfile CardPM
+Quote Post

gbertoli3
RE: Error With Snippets
4 Aug, 2008 - 07:56 PM
Post #8

DIC at Heart + Code
Group Icon

Joined: 23 Jun, 2008
Posts: 1,046



Thanked: 17 times
Dream Kudos: 950
My Contributions
No problem

I just want to tell you that you are doing a great job!

I have not heard any complaints or remarks(other than good) about you. I am saying this because I am a web designer as well, and I know how hard and frustrating fixing bugs can be.
User is offlineProfile CardPM
+Quote Post

dineeshd
RE: Error With Snippets
4 Aug, 2008 - 11:29 PM
Post #9

D.I.C Addict
Group Icon

Joined: 30 Jun, 2008
Posts: 578



Thanked: 16 times
Dream Kudos: 575
My Contributions
I have a small doubt regarding the tutorials. Why Tutorials are not allowed to edit? Many times I felt that, it (tutorial) could have been better if I do some modifications or some silly mistakes might have been in.
User is offlineProfile CardPM
+Quote Post

no2pencil
RE: Error With Snippets
4 Aug, 2008 - 11:43 PM
Post #10

My fridge be runnin OH NOEZ!
Group Icon

Joined: 10 May, 2007
Posts: 6,435



Thanked: 64 times
Dream Kudos: 2425
Expert In: Goofing Off

My Contributions
QUOTE(dineeshd @ 5 Aug, 2008 - 03:29 AM) *

I have a small doubt regarding the tutorials. Why Tutorials are not allowed to edit? Many times I felt that, it (tutorial) could have been better if I do some modifications or some silly mistakes might have been in.

You can add a comment to the snippet, & make a reply to the tutorial. However if they were open game for anyone to edit as they saw fit, things would run rampid with what each individual decided was 'best' for the code.
User is online!Profile CardPM
+Quote Post

dineeshd
RE: Error With Snippets
5 Aug, 2008 - 12:21 AM
Post #11

D.I.C Addict
Group Icon

Joined: 30 Jun, 2008
Posts: 578



Thanked: 16 times
Dream Kudos: 575
My Contributions
QUOTE(no2pencil @ 5 Aug, 2008 - 01:13 PM) *

You can add a comment to the snippet, & make a reply to the tutorial. However if they were open game for anyone to edit as they saw fit, things would run rampid with what each individual decided was 'best' for the code.


Sorry I forget to mention one thing. I don't want to edit others tutorial, but I should get some option to edit my own tutorials. Right?
User is offlineProfile CardPM
+Quote Post

gbertoli3
RE: Error With Snippets
5 Aug, 2008 - 06:43 AM
Post #12

DIC at Heart + Code
Group Icon

Joined: 23 Jun, 2008
Posts: 1,046



Thanked: 17 times
Dream Kudos: 950
My Contributions
Yeah I agree with dineeshd
User is offlineProfile CardPM
+Quote Post

2 Pages V  1 2 >
Fast ReplyReply to this topicStart new topic
Time is now: 12/1/08 06:18PM

Live Help!

Tutorials

Programming

Web Development

Reference Sheets

Code Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month