agilegardenclub / public-garden

AGC Public Garden Site
https://agilegardenclub.com/public-garden/?name=45ght3cf
1 stars 0 forks source link

Fix duplicate planting IDs, fix invalid dates #93

Closed philipmjohnson closed 1 year ago

philipmjohnson commented 1 year ago

Please do work for this task in a branch named issue-XXX.

Fix duplicate planting IDs

In gardenData.js, all of the "planting-ID"s must be unique. Unfortunately, a bunch of duplicates have crept in which make data migration difficult.

Please fix the following duplicates. Perhaps the easiest way is to add an alphabetic suffix such as "-a", "-b", "-c", "-d". To guarantee you don't inadvertently create a new duplicate, don't reuse the suffix. (when you get to "-z", then go on to "-aa", "-ab", etc.

Here are the duplicates that I am aware of.

Fix invalid dates

All dates must be in the format dd/MM/yyyy

planting-2004 has an invalid firstHarvestDate.

Note

You can wait to do this until you are making an update to the gardenData file.

Jennacd commented 1 year ago

@philipmjohnson Sorry I've been absorbed by Dart I let this slip. It's done now.