Author Topic: _time('L') output seems wrong?  (Read 782 times)

rowbearto

  • Senior Community Member
  • Posts: 1664
  • Hero Points: 119
_time('L') output seems wrong?
« on: October 01, 2018, 03:27:05 am »
When I call _time('L') it always returns "3.0/22.0.2.1" when I expect to see local time (I am in USA). But _time('M') and _time() do seem to work properly.

This is in beta5, Linux x64, CentOS 7.2.

patrick

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 1290
  • Hero Points: 121
Re: _time('L') output seems wrong?
« Reply #1 on: October 01, 2018, 01:14:38 pm »
There's a limitation that _time('L') doesn't detect the regional time format on non-windows platforms.  You can set the format in "Tools -> Options -> Appearance -> General -> Time display style".

rowbearto

  • Senior Community Member
  • Posts: 1664
  • Hero Points: 119
Re: _time('L') output seems wrong?
« Reply #2 on: October 01, 2018, 01:33:34 pm »
That fixed it. It would be nice if some default was used (such as USA ;) ), or print out a message letting user know how to set the Time display style.