LinqToQuerystring icon indicating copy to clipboard operation
LinqToQuerystring copied to clipboard

DateTime functions do not work properly against Object type

Open ccoulson opened this issue 10 years ago • 0 comments

If I have a list<dictionary<string, object>> containing some date fields, using the ODATA date functions (day, year, hour...) against the object (which is a DATETIME) raises the following exception:

System.Object does not support the 'year' function.

ccoulson avatar Mar 05 '15 20:03 ccoulson

For ‘video’ and ‘audio’ see PR schemaorg/schemaorg#1774 which changes their domain to ‘Thing’

RichardWallis avatar Mar 19 '18 09:03 RichardWallis

This is interesting data - many thanks for sharing. I would resist moving things like "price" directly onto /Product. /cc @mfhepp ... however it is still great usability feedback.

danbri avatar Jul 15 '20 16:07 danbri

See issue #7 for the context of the move from the main Schema.org issue tracker to this repository.

RichardWallis avatar Jul 16 '20 13:07 RichardWallis

@mfhepp what do you think of having financial props on Product/Event in addition to Offer? You are the authority

VladimirAlexiev avatar Oct 07 '20 23:10 VladimirAlexiev