- Home /
Question by
Dam-Pete · Nov 22, 2016 at 04:40 PM ·
bugformattingdate
Date formatting Unity 5.4+ vs 5.3
I have a project where I display a date (dd/MM/yyyy) and, when I load the project in Unity 5.4+ the formatting fails, whereas in Unity 5.3.3f1 it works fine (see image below).
Nothing has changed in the code, can anyone point out what gives? I've tried googling, but couldn't find any leads on to what might be causing the problem.
This is how I format it:
dateTimeInputField.text = dateTime.ToString( @"dd/MM/yyyy" );
untitled-1.png
(4.1 kB)
Comment
Your answer
Follow this Question
Related Questions
MonoDevelop seems to randomly insert code 0 Answers
Unity Colors become weird when scene changed 1 Answer
Unity not closing on Ubuntu 20 0 Answers
Why OnMouseDown stops working? 2 Answers
Y position changes randomly,Y position changes weirdly 0 Answers