mirror of
https://codeberg.org/comaps/comaps
synced 2025-12-19 13:03:36 +00:00
[generator] Add check_date and variants
Includes survey:date and check_date:opening_hours Only apply to amenity and shop types for now [generator] Add check_date to further types [generator] Improve date validation Check if it can be parsed to a proper date Signed-off-by: Eivind Samseth <eisa01@gmail.com>
This commit is contained in:
@@ -15,6 +15,7 @@ struct MetadataTagProcessorImpl
|
||||
static std::string ValidateAndFormat_url(std::string const & v) ;
|
||||
static std::string ValidateAndFormat_phone(std::string const & v) ;
|
||||
static std::string ValidateAndFormat_opening_hours(std::string const & v) ;
|
||||
static std::string ValidateAndFormat_date(std::string const & v) ;
|
||||
std::string ValidateAndFormat_ele(std::string const & v) const;
|
||||
static std::string ValidateAndFormat_destination(std::string const & v) ;
|
||||
static std::string ValidateAndFormat_local_ref(std::string const & v) ;
|
||||
|
||||
Reference in New Issue
Block a user