DateAttribute can't mapping
See original GitHub issueNEST/Elasticsearch.Net version:
Elasticsearch version:
Description of the problem including expected versus actual behavior:
Steps to reproduce: 1. 2. 3.
Provide ConnectionSettings
(if relevant):
Provide DebugInformation
(if relevant):
Describe the feature: if I use DateAttribute and set up format their will have an error for example [ElasticsearchType(Name = “esmodel”, IdProperty = “id”)] public class ESModel { [Number(Name = “id”)] public int Id { set; get; } [Text(Name = “name”)] public string Name { set; get; } [Date(Name = “birthday”,Format = “yyyy-MM-dd HH:mm:ss”)] public DateTime? Birthday { set; get; } } ESModel es = new ESModel(); es.Id = 1; es.Name = “22”; es.Birthday =DateTime.Now; client.IndexDocument(es);
Issue Analytics
- State:
- Created 5 years ago
- Comments:21 (7 by maintainers)
Top Results From Across the Web
Why am I unable to display attribute data in map?
I want to display both these attributes on click on the polygon. My code is returning me latlng. I am new to Leaflet...
Read more >How to pass data with Html Attributes after mapped Array ...
Random attributes like airport and lat aren't valid to attach to a native HTML element like <li> . However, you should be able...
Read more >A Complete Guide to Data Attributes
Everything you ever wanted to know about data attributes in HTML, CSS, and JavaScript.
Read more >Unable to Add Data Attribute for Custom Value with Tag
map (data, function (obj) { call, I can add whatever I want to the object and it's appended as a new property to...
Read more >Don't use data attributes to find HTML elements with JS
Javascript takes a selector to map to a DOM element, selector being the keyword not class. Selector could be anything from Id, Class...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@799839351 is this issue now resolved? Can we close this?
Closing this issue as it appears to be resolved by the user. If that’s not the case, feel free to reopen 👍