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

rowbearto

  • Senior Community Member
  • Posts: 2335
  • Hero Points: 132
_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: 1818
  • Hero Points: 151
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: 2335
  • Hero Points: 132
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.