- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-19-2019 07:57 AM
Recently upgraded our Dev instance to New York and found an issue on an existing Date/Time variable in Service Catalog using the mobile app. Our default date format has always been set to MM-dd-yyyy. But when we select the Date/Time field and pick a date from the date picker, we get an Invalid date error. If I change our Default format to yyyy-MM-dd, it works fine.
This is only in the mobile app that we see this.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-25-2019 05:27 AM
We actually stumbled onto either a fix or workaround, whatever you want to call it. While fipping glide.sys.date_format back and forth from MM-dd-yyyy to yyyy-MM-dd for testing, we inadvertently set it back as MM/dd/yyyy. It works fine now with the '/' instead of the '-'. ServiceNow support says it should work either way, but not for us.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-10-2019 01:05 PM
This is a bug I run into each time in a few applications within ServiceNow
I've tested the things told above, here's the ennoying part:
IF you switch the month with the day it gets wonky.
dd-MM or dd/MM
If the date is set to 11 december it will be set to 12-11 not 11-12, if you go above the 12th of that month it gets invalid. Probably has to do with the UTC time etc.
I've reported this bug, as said by Kosh this should work for all date formats.