OK, this is odd (mainly becasue my code was working the other day). Umbraco seems to only be returning the default value for a datepicker with time for me. I'm using this to produce a string in a class
DateTime date = item.GetPropertyValue("start");
string datestring = date.ToString();
The values are definitely in my config. Anyone got any ideas? I've deleted the config and restarted my application pool etc.
Edit: If I just try and output the string it shows the wrong value also
v7 Not picking up Date Picker with Time values
OK, this is odd (mainly becasue my code was working the other day). Umbraco seems to only be returning the default value for a datepicker with time for me. I'm using this to produce a string in a class
The values are definitely in my config. Anyone got any ideas? I've deleted the config and restarted my application pool etc.
Edit: If I just try and output the string it shows the wrong value also
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.