MCPcopy Create free account
hub / github.com/cutelyst/cutelyst / dateTime

Method dateTime

tests/testvalidator.cpp:537–541  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

535 // ***** Endpoint for ValidatorDateTime with standard formats ******
536 C_ATTR(dateTime, :Local :AutoArgs)
537 void dateTime(Context *c)
538 {
539 Validator v({new ValidatorDateTime(u"field"_s, QString{}, nullptr, m_validatorMessages)});
540 checkResponse(c, v.validate(c));
541 }
542
543 // ***** Endpoint for ValidatorDateTime with custom format ******
544 C_ATTR(dateTimeFormat, :Local :AutoArgs)

Callers

nothing calls this directly

Calls 1

validateMethod · 0.45

Tested by

no test coverage detected