I've started building the 2012 NFL gameset. I'll post it here when complete.

CommentFileSizeAuthor
#15 NFL_2012.gameset.txt140.43 KBsebokopter
#8 NFL_2012.gameset.txt135.23 KBtlreiners

Comments

jvandervort’s picture

Nice early start:)

IronDogg’s picture

Any chance of a CFL gameset? (Canadian football league)

jvandervort’s picture

Any news on the nfl 2012 schedule? Need any help?

tlreiners’s picture

I've been sidetracked by random drupal 7 inconsistencies in my dev environment, but should have it done before preseason games start.

Is it necessary to have the New York Teams labeled as N.Y. Jets Jets and N.Y. Giants Giants (my starter gameset has them that way)?

jvandervort’s picture

Re: JETS

Probably should be:
City: New York
Name: JETS

Nathan86’s picture

Priority: Normal » Critical

Hi John,

I've been trying to get in contact with you to discuss help with this modification as a paid service, can you contact me, I've tried through drupal and your public listed jvandervort@drupal.org, just not sure if you got them can you contact me via nath69@gmail.com

Nathan

Nathan86’s picture

tlreiners have you finished the 2012 gameset :)

tlreiners’s picture

StatusFileSize
new135.23 KB

NFL 2012 gameset is attached. I caught myself putting CAR for an ARI game once, hopefully I didn't do it any other times?! Run a check on it and let me know if anything is out of place.

tlreiners’s picture

Priority: Critical » Normal
Status: Active » Fixed
jvandervort’s picture

Gameset looks good. I didn't find any errors. Thanks for the help.

davidryman’s picture

Excellent work

sebokopter’s picture

Hey Guys, any of you missing the date and times of the games/weeks in the gameset?

I've downloaded http://drupal.org/files/NFL_2012.gameset.txt to my sites/all/modules/pickem/data and renamed it to "NFL_2012.gameset". Then I imported the gameset through the Web-UI. Everything is imported except for the game dates. I think the problem is that my version 6.x-2.6+1-dev needs a UTC date format. Due to the fact that the older gamesets with UTC are working. And the NFL 2012 gameset has the dates saved as unix timestamps.
Is timestamp the new way to save dates? And why isn't it working with the newest pickem version for Drupal 6?

Btw: Thank you jvandervort for the great module, documentation and support. And tlreiners thanks for the sisyphean task :)

jvandervort’s picture

Yes, UTC timestamps are new in Pickem7.x and not compatible with Pickem6.x
As to why, pickem6.x is frozen (bugfix only) and unfortunately 6.x didn't get that feature. It wasn't a small patch. I was hoping someone would post a 6.x version as I believe there are quite a few users.

sebokopter’s picture

Version: 7.x-1.4 » 6.x-2.x-dev
StatusFileSize
new140.43 KB

Thanks jvandervort for the very fast response.

I've wrote a very simple perl script to generate the NFL Gameset for pickem 6.x from tlreiners gameset. It basicly only replaces the timestamps [1] and renamed some fields [2].
I hope that doesn't break anything but it looks good to me at first glance.

I append the NFL Gameset for pickem6.x though its too late since the NFL Season already started. But maybe it helps someone next year ;)

[1]
while( $line =~ /(\d{10})/g ) {
$timestamp = $1; $time = strftime("%Y-%m-%d %H:%M:%S",gmtime($timestamp));
$line =~ s/s:10:"$timestamp/s:19:"$time/g;
}
[2]
$line =~ s/s:15:"first_gamestart"/s:12:"wk_firstgame"/g;
$line =~ s/s:14:"last_gamestart"/s:11:"wk_lastgame"/g;
$line =~ s/s:9:"gamestart"/s:8:"gametime"/g

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

jvandervort’s picture

Component: Miscellaneous » Gameset files