Re: system date

2020-05-04 Thread matthias rebbe via use-livecode
button and then clicked on the Tab for ‘Dates’ >> >> There is a field with a setting for “Short” which was 2020-01-05. I >> replaced the hyphens with slashes. >> >> I had to quit and relaunch LiveCode for the change to take effect. After I >> had done tha

Re: system date

2020-05-04 Thread Jacques Hausser via use-livecode
for the change to take effect. After I > had done that the command 'put the system date’ returns '2020/05/04’ > > If I click 'Restore Defaults' in the ‘Dates' tab of the advanced 'Language > and Region' settings panel my short date format goes back to

Re: system date

2020-05-04 Thread Martin Koob via use-livecode
ge to take effect. After I had done that the command 'put the system date’ returns '2020/05/04’ If I click 'Restore Defaults' in the ‘Dates' tab of the advanced 'Language and Region' settings panel my short date format goes back to 2020-05-04. Martin >

Re: system date

2020-05-04 Thread Martin Koob via use-livecode
;>> : >>> >>> Hello everybody, >>> >>> Back to LC after a long time out. I’m using LC 9.6.0(dp 4) on Mac OS >>> 10.15.4, and I just discovered that Livecode seems totally deaf to the >>> words “system date”. EG: >>> >>&

Re: system date

2020-05-04 Thread Jacques Hausser via use-livecode
ecode >> : >> >> Hello everybody, >> >> Back to LC after a long time out. I’m using LC 9.6.0(dp 4) on Mac OS >> 10.15.4, and I just discovered that Livecode seems totally deaf to the words >> “system date”. EG: >> >> put the date into today

Re: system date

2020-05-04 Thread matthias rebbe via use-livecode
ieb Jacques Hausser via use-livecode > : > > Hello everybody, > > Back to LC after a long time out. I’m using LC 9.6.0(dp 4) on Mac OS 10.15.4, > and I just discovered that Livecode seems totally deaf to the words “system > date”. EG: > > put the date into today > c

system date

2020-05-04 Thread Jacques Hausser via use-livecode
Hello everybody, Back to LC after a long time out. I’m using LC 9.6.0(dp 4) on Mac OS 10.15.4, and I just discovered that Livecode seems totally deaf to the words “system date”. EG: put the date into today convert today to system date put today into fld 1 returns 5/4/20 instead of 04.05.20

system date also works with the long system date?

2018-10-31 Thread Klaus major-k via use-livecode
Hi friends, quick question, see subject, just to be sure. Maybe someone can confirm this. Problem, LC on ANDROID still does not support the system date, so sorting by date in a datagrid does not work for non-english dates. This just one of

Re: System date

2016-09-08 Thread Antti Ilola
Checked. 2016-09-07 15:47 GMT+03:00 Robert Brenstein : > The problem might be that changing the language does not always change the > date formats. These are separate settings under OSX. > > ___ use-livecode mailing list use-livecode@lists.runrev.com Pl

Re: System date

2016-09-07 Thread Robert Brenstein
veral versions up to 8.0.2) and typed "put the long system date" into the message box. All returned an English style date (Wednesday, 7 September 2016) even though the date in the menubar clock was in Finnish. So, it's not just you.

Re: System date

2016-09-07 Thread Richmond
computer with a Netherlandish system. Richmond. On 7.09.2016 08:20, Terry Judd wrote: Hi Antti – I just tried changing my Mac’s default language to Finnish (Suomi) then restarted it, opened Livecode (several versions up to 8.0.2) and typed “put the long system date” into the message box. All

Re: System date

2016-09-07 Thread Ali Lloyd
vecode.com/show_bug.cgi?id=11633 On Wed, Sep 7, 2016 at 6:23 AM Terry Judd wrote: > So, with respect to my previous message, what I actually tried in the > message box was... > > set the useSystemDate to true; put the long system date > > ...but it still returned an English style d

Re: System date

2016-09-06 Thread Terry Judd
So, with respect to my previous message, what I actually tried in the message box was... set the useSystemDate to true; put the long system date ...but it still returned an English style date. Terry... On 7/09/2016 3:17 pm, "use-livecode on behalf of Tim Selander" wrote: T

Re: System date

2016-09-06 Thread Terry Judd
Hi Antti – I just tried changing my Mac’s default language to Finnish (Suomi) then restarted it, opened Livecode (several versions up to 8.0.2) and typed “put the long system date” into the message box. All returned an English style date (Wednesday, 7 September 2016) even though the date in the

Re: System date

2016-09-06 Thread Tim Selander
ion, this: on mouseUp set the useSystemDate to true put the long date into fld "fDATE" end mouseUp returned this: вторник, септември 6, 2016 as I am using a machine running Xubuntu 16.04 64-bit with the system date system running in Bulgarian - mainly because I live and work o

Re: System date

2016-09-06 Thread Antti Ilola
6 > > as I am using a machine running Xubuntu 16.04 64-bit with the system date > system running > in Bulgarian - mainly because I live and work on Bulgaria. > > Richmond. > > > On 6.09.2016 20:21, Antti Ilola wrote: > >> Is it the time to you to get the system

Re: System date

2016-09-06 Thread Richmond
You should have taken a bit longer to read the documention, this: on mouseUp set the useSystemDate to true put the long date into fld "fDATE" end mouseUp returned this: вторник, септември 6, 2016 as I am using a machine running Xubuntu 16.04 64-bit with the system date syst

Re: System date

2016-09-06 Thread Tore Nilsen
I have no problem using the system date here in Norway. It works when I use the following: answer the system date and when I use: set the useSystemDate to true answer the date In the last example, remember to set the useSystemDate to true every time you want to use the system date, as it

System date

2016-09-06 Thread Antti Ilola
Is it the time to you to get the system date work.I have done everything I found your guide, but no avail, every time english date. I made it a bug report since version 6 was announced. and still it doesn't work. Now I'm using Mac OS 10.10 and 10.11 in Finnish. Today I tired SperCard f

Re: [Bug 9604] Various issues regarding compatibility between LC system date formats and OS X date preferences

2012-01-10 Thread Pete
ly on preventing SQL injections in LC. > Here's > > an email I got from the support center on a bug/enhancement concerning > this. > > I've responded to this, Pete… Michael's comment is a bit misguided since > the documentation even states that the format of t

Re: [Bug 9604] Various issues regarding compatibility between LC system date formats and OS X date preferences

2012-01-09 Thread Ken Ray
e documentation even states that the format of the system date is based on the Date/Time control panel… Ken Ray Sons of Thunder Software, Inc. Email: k...@sonsothunder.com Web Site: http://www.sonsothunder.com/ ___ use-livecode mailing list use-live

Fwd: [Bug 9604] Various issues regarding compatibility between LC system date formats and OS X date preferences

2012-01-05 Thread Pete
ility between LC system date formats and OS X date preferences To: p...@mollysrevenge.com http://quality.runrev.com/show_bug.cgi?id=9604 michael.mccre...@runrev.com changed: What|Removed |

Re: System Date/Time Format Problems

2011-07-05 Thread Pete
Thanks Ken, I figured that's what it was. I can send you the changed handler if you're interested n the ordinal day and timezone (timezone will only work on a Mac). Pete Molly's Revenge On Tue, Jul 5, 2011 at 6:03 PM, Ken Ray wrote: > > > > I notice there are

Re: System Date/Time Format Problems

2011-07-05 Thread Ken Ray
> I notice there are less characters (26) in tReplaceChars than there are > items in tFormatWords (28) and the handler code suggests that there should > be the same number of characters. I'd like to add a couple more formats > (ordinal day number and 3-char time zone) and want to make sure I unde

Re: System Date/Time Format Problems

2011-07-05 Thread Pete
Ken, Thanks for this. I've been trying it out and all seems to work great. I notice there are less characters (26) in tReplaceChars than there are items in tFormatWords (28) and the handler code suggests that there should be the same number of characters. I'd like to add a couple more formats (or

Re: System Date/Time Format Problems

2011-07-04 Thread Pete
Thanks a lot Ken, this looks great and I'll be trying it out very soon. I might add the ability to return the 3-char timezone since I just found out how to get hold of that from OS X (it's in word -2 of the shell date command) Pete Molly's Revenge On Mon, Jul 4,

Re: System Date/Time Format Problems

2011-07-04 Thread Ken Ray
I have a handler I've been using for a while that works great with formatting dates. Here it is (sorry for the length, but it's heavily commented - oh and watch for word wraps): -- --| FUNCTION: stsFormattedDate --| --| Author:

Re: System Date/Time Format Problems

2011-07-03 Thread Pete
time formats >> used by OS X. >> 2) There's a bug in the "abbrev system time" - it returns LC's default >> abbrev format, not the format in any of the OS X user preferences. >> 3) There's an inconsistency between the long system date and th

Re: System Date/Time Format Problems

2011-07-03 Thread J. Landman Gay
ev system time" - it returns LC's default abbrev format, not the format in any of the OS X user preferences. 3) There's an inconsistency between the long system date and the long system time - the date returned is in the OS X full format, and the time is in the OS X medium format. These

Re: System Date/Time Format Problems

2011-07-03 Thread Pete
C's default abbrev format, not the format in any of the OS X user preferences. 3) There's an inconsistency between the long system date and the long system time - the date returned is in the OS X full format, and the time is in the OS X medium format. These issues occur anywhere you refer t

Re: System Date/Time Format Problems

2011-07-03 Thread Pete
Thanks Jacque, that's a great start. I also found the dateFormat function which I think may assist in all this. Pete Molly's Revenge On Sat, Jul 2, 2011 at 8:15 PM, J. Landman Gay wrote: > On 7/2/11 2:46 PM, Pete wrote: > > So if a user tells me he wants his da

Re: System Date/Time Format Problems

2011-07-02 Thread J. Landman Gay
On 7/2/11 2:46 PM, Pete wrote: So if a user tells me he wants his dates in OS X medium or long format, I can't find out what that is with LC code, same for an OS X long time. Start with these. The functions below will only work on US systems, or in countries that use US date/time formats. If

Re: System Date/Time Format Problems

2011-07-02 Thread J. Landman Gay
On 7/2/11 2:46 PM, Pete wrote: For dates: LC Short = OSX Short LC Long = OSX Full LC Abbrev = returns a date that is not in any of the OS X formats no LC format for OSX medium or long For times: LC Short = OSX Short LC Abbrev = OSX Short LC Long = OSX Medium no LC format for OSX Long or full

Re: System Date/Time Format Problems

2011-07-02 Thread Pete
The problem is that the Livecode system date formats don't fully reflect the system preference settings on OS X (don't know about Windows). Some of that is because OS X has four date/time formats and LC only has three, but there's at least one instance where LC returns a date that is

Re: System Date/Time Format Problems

2011-07-02 Thread J. Landman Gay
ing a date or time, or just by getting "the system date". Then all the LiveCode date formats will reflect the user preference. For the abbrev date, where the month is not fully expanded, a quick lookup in the monthnames would fix that. Just replace the abbreviated month name with t

Re: System Date/Time Format Problems

2011-07-02 Thread Pete
h the various forms of the LC system date compared with the OS X system date formats. Pete Molly's Revenge <http://www.mollysrevenge.com> On Sat, Jul 2, 2011 at 5:43 AM, Peter Brigham MD wrote: > There may be a better way, but you might have to use a shell call. Execute >

Re: System Date/Time Format Problems

2011-07-02 Thread Peter Brigham MD
r Peter M. Brigham pmb...@gmail.com http://home.comcast.net/~pmbrig On Jul 1, 2011, at 1:59 PM, Pete wrote: > I'm running into some major differences in the way LC displays system date > and time versus what I have set up in my OSX control panel and wondering if > anyone else has ru

System Date/Time Format Problems

2011-07-01 Thread Pete
I'm running into some major differences in the way LC displays system date and time versus what I have set up in my OSX control panel and wondering if anyone else has run into this. This is in the context of providing my users with a preference setting for how they want dates/times disp

Re: put the system date

2011-05-07 Thread Pete
I tried this on my Mac, also 10.6, with LC 4.1 and it displayed the Norwegian date correctly. I know you have to restart LC after making system date format changes, other than that don't know what to suggest. Pete Molly's Revenge <http://www.mollysrevenge.com> On Sat, May 7,

put the system date

2011-05-07 Thread Louis Janus
I have changed the system date (on my Mac OS 10.6) to Norwegian time and settings. Now I'm trying to get Live Code to show it in a field. I gave the command put long system date && the time (in the msg box), hoping to get lørdag 7. mai, because that's how I set the system