navnorth / wp-oer

WordPress OER Plugin
GNU General Public License v3.0
8 stars 2 forks source link

Date import and display #9

Closed joehobson closed 9 years ago

joehobson commented 9 years ago

Date’s do not seem to be displaying correctly, or maybe are not imported correctly from the spreadsheet. Should be displayed as MM/DD/YYYY

Would also be nice if there was some data validation when adding/editing/importing resources. For now, if the data submitted is not a date, leave it null on the resource.

johnpaulbalagolan commented 9 years ago

The dates are not imported correctly and found a bug that when there's no date specified for certain records in the import file, it will carry the date it previously processed instead of just null.

Should I create a new issue for it? or include this on this issue?

I will work on the fixes accordingly

joehobson commented 9 years ago

nice catch. just include it on this issue, make note in the commit message.

On Apr 24, 2015, at 10:04 AM, johnpaulbalagolan notifications@github.com wrote:

The dates are not imported correctly and found a bug that when there's no date specified for certain records in the import file, it will carry the date it previously processed instead of just null.

Should I create a new issue for it? or include this on this issue?

— Reply to this email directly or view it on GitHub.

johnpaulbalagolan commented 9 years ago

fixed #9. Also fixed the bug I mentioned above if there's no date in a record, it will be null instead of using the date from the previous record.