00:03
crankharder has quit [Ping timeout: 246 seconds]
00:04
some14u has joined #ruby
00:05
floss-jas has joined #ruby
00:09
hanzo has joined #ruby
00:10
WhereIsMySpoon has joined #ruby
00:11
some14u has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
00:14
WhereIsMySpoon has quit [Ping timeout: 272 seconds]
00:18
giorgian has joined #ruby
00:19
crankharder has joined #ruby
00:22
some14u has joined #ruby
00:24
giorgian has quit [Ping timeout: 276 seconds]
00:34
giorgian has joined #ruby
00:36
comet23 has quit [Quit: Client closed]
00:40
giorgian has quit [Ping timeout: 256 seconds]
00:42
some14u has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
00:46
dionysus69 has quit [Quit: dionysus69]
00:46
dionysus69 has joined #ruby
00:53
giorgian has joined #ruby
00:57
giorgian has quit [Ping timeout: 240 seconds]
01:04
roadie has joined #ruby
01:07
Al2O3 has joined #ruby
01:14
dionysus69 has quit [Quit: dionysus69]
01:14
dionysus69 has joined #ruby
01:15
some14u has joined #ruby
01:18
some14u has quit [Client Quit]
01:19
giorgian has joined #ruby
01:19
dionysus69 has quit [Read error: Connection reset by peer]
01:20
dionysus69 has joined #ruby
01:23
crankharder has quit [Ping timeout: 256 seconds]
01:25
giorgian has quit [Ping timeout: 276 seconds]
01:25
dionysus69 has quit [Read error: Connection reset by peer]
01:25
dionysus69 has joined #ruby
01:29
crankharder has joined #ruby
01:29
roadie has quit [Ping timeout: 272 seconds]
01:30
dionysus69 has quit [Quit: dionysus69]
01:31
dionysus69 has joined #ruby
01:32
aesthetikx has quit [Ping timeout: 256 seconds]
01:32
aesthetikx has joined #ruby
01:36
dionysus69 has quit [Quit: dionysus69]
01:36
dionysus69 has joined #ruby
01:38
crankharder has quit [Ping timeout: 272 seconds]
01:40
crankharder has joined #ruby
01:41
dionysus69 has quit [Read error: Connection reset by peer]
01:42
dionysus69 has joined #ruby
01:44
Ziyan has joined #ruby
01:45
crankharder has quit [Ping timeout: 246 seconds]
01:45
dionysus69 has quit [Read error: Connection reset by peer]
01:46
dionysus69 has joined #ruby
01:46
dionysus69 has quit [Client Quit]
01:47
dionysus69 has joined #ruby
01:52
dionysus69 has quit [Quit: dionysus69]
01:52
dionysus69 has joined #ruby
01:58
dionysus69 has quit [Read error: Connection reset by peer]
01:58
dionysus69 has joined #ruby
02:00
Guest26nakilon has joined #ruby
02:03
dionysus69 has quit [Quit: dionysus69]
02:03
dionysus69 has joined #ruby
02:07
<
Guest26nakilon >
oh, I guess "not used after 1.2.7. just for compat." docs remark
02:09
dionysus69 has quit [Read error: Connection reset by peer]
02:09
dionysus69 has joined #ruby
02:10
WhereIsMySpoon has joined #ruby
02:13
crankharder has joined #ruby
02:13
<
Guest26nakilon >
the last two CVE links in recent ruby-lang website news don't work
02:13
Guest26nakilon has quit [Quit: Client closed]
02:14
dionysus69 has quit [Quit: dionysus69]
02:14
dionysus69 has joined #ruby
02:15
WhereIsMySpoon has quit [Ping timeout: 246 seconds]
02:18
crankharder has quit [Ping timeout: 246 seconds]
02:19
roadie has joined #ruby
02:20
dionysus69 has quit [Read error: Connection reset by peer]
02:20
giorgian has joined #ruby
02:20
dionysus69 has joined #ruby
02:20
dionysus69 has quit [Remote host closed the connection]
02:25
giorgian has quit [Ping timeout: 246 seconds]
02:32
crankharder has joined #ruby
02:49
roadie has quit [Quit: ERC (IRC client for Emacs 25.3.50.1)]
02:54
Vonter has joined #ruby
02:56
swaggboi has quit [Quit: C-x C-c]
02:59
hanzo has quit [Quit: Connection closed for inactivity]
03:05
hanzo has joined #ruby
03:07
swaggboi has joined #ruby
03:16
Guest26nakilon has joined #ruby
03:18
Sheilong has quit []
03:21
giorgian has joined #ruby
03:26
giorgian has quit [Ping timeout: 276 seconds]
03:32
ssh073 has quit [Remote host closed the connection]
03:33
ssh073 has joined #ruby
03:44
crankharder has quit [Ping timeout: 272 seconds]
03:54
Ziyan has quit [Ping timeout: 240 seconds]
03:56
Ziyan has joined #ruby
03:57
crankharder has joined #ruby
04:02
crankharder has quit [Ping timeout: 246 seconds]
04:05
mdemo has joined #ruby
04:06
kiki_lamb has quit [Ping timeout: 276 seconds]
04:17
kiki_lamb has joined #ruby
04:21
giorgian has joined #ruby
04:23
kiki_lamb has quit [Ping timeout: 272 seconds]
04:27
giorgian has quit [Ping timeout: 256 seconds]
04:31
crankharder has joined #ruby
04:38
Guest26nakilon has quit [Quit: Client closed]
04:46
Guest54 has joined #ruby
04:50
kiki_lamb has joined #ruby
04:54
sshock has joined #ruby
04:54
kiki_lamb has quit [Ping timeout: 240 seconds]
04:55
Guest54 has quit [Quit: Client closed]
05:06
sshock has left #ruby [#ruby]
05:07
sshock has joined #ruby
05:14
Ziyan has quit [Ping timeout: 272 seconds]
05:15
Ziyan has joined #ruby
05:22
giorgian has joined #ruby
05:23
kiki_lamb has joined #ruby
05:28
giorgian has quit [Ping timeout: 276 seconds]
05:29
kiki_lamb has quit [Ping timeout: 276 seconds]
05:34
sshock has left #ruby [#ruby]
05:35
crankharder has quit [Ping timeout: 276 seconds]
05:38
Sankalp has quit [Ping timeout: 276 seconds]
05:40
Ziyan has quit [Ping timeout: 276 seconds]
05:40
Sankalp has joined #ruby
05:42
Ziyan has joined #ruby
05:48
crankharder has joined #ruby
05:56
kiki_lamb has joined #ruby
05:59
crankharder has quit [Ping timeout: 272 seconds]
06:01
kiki_lamb has quit [Ping timeout: 276 seconds]
06:12
crankharder has joined #ruby
06:17
crankharder has quit [Ping timeout: 276 seconds]
06:23
giorgian has joined #ruby
06:28
giorgian has quit [Ping timeout: 276 seconds]
06:29
kiki_lamb has joined #ruby
06:35
kiki_lamb has quit [Ping timeout: 276 seconds]
06:38
Ziyan has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
06:46
crankharder has joined #ruby
06:47
protektwar has joined #ruby
06:47
protektwar has quit [Changing host]
06:47
protektwar has joined #ruby
07:04
kiki_lamb has joined #ruby
07:09
kiki_lamb has quit [Ping timeout: 246 seconds]
07:15
giorgian has joined #ruby
07:21
kiki_lamb has joined #ruby
07:26
kiki_lamb has quit [Ping timeout: 276 seconds]
07:31
oxfuxxx has joined #ruby
07:36
oxfuxxx has quit [Ping timeout: 276 seconds]
07:38
kiki_lamb has joined #ruby
07:42
kiki_lamb has quit [Ping timeout: 240 seconds]
07:51
crankharder has quit [Ping timeout: 276 seconds]
08:04
crankharder has joined #ruby
08:06
Ziyan has joined #ruby
08:13
kiki_lamb has joined #ruby
08:18
<
rapha >
maaaaybe the colorize gem
08:18
kiki_lamb has quit [Ping timeout: 256 seconds]
08:18
<
rapha >
oh, gone again already
08:18
<
rapha >
and colorize stubbornly calls gray "light_black" which'll never cease to amaze and annoy me
08:19
teclator has joined #ruby
08:19
giorgian has quit [Ping timeout: 276 seconds]
08:25
crankharder has quit [Ping timeout: 276 seconds]
08:32
giorgian has joined #ruby
08:35
_ht has joined #ruby
08:38
crankharder has joined #ruby
08:38
giorgian has quit [Ping timeout: 256 seconds]
08:46
kiki_lamb has joined #ruby
08:49
hanzo has quit [Quit: Connection closed for inactivity]
08:53
kiki_lamb has quit [Ping timeout: 272 seconds]
08:53
giorgian has joined #ruby
08:59
giorgian has quit [Ping timeout: 272 seconds]
09:10
giorgian has joined #ruby
09:15
giorgian has quit [Ping timeout: 246 seconds]
09:22
kiki_lamb has joined #ruby
09:24
___nick___ has joined #ruby
09:26
giorgian has joined #ruby
09:27
kiki_lamb has quit [Ping timeout: 272 seconds]
09:31
giorgian has quit [Ping timeout: 240 seconds]
09:42
ur5us has joined #ruby
09:42
crankharder has quit [Ping timeout: 246 seconds]
09:54
crankharder has joined #ruby
09:55
kiki_lamb has joined #ruby
09:59
crankharder has quit [Ping timeout: 272 seconds]
10:00
kiki_lamb has quit [Ping timeout: 246 seconds]
10:08
ur5us has quit [Ping timeout: 250 seconds]
10:11
crankharder has joined #ruby
10:18
crankharder has quit [Ping timeout: 256 seconds]
10:20
crankharder has joined #ruby
10:27
giorgian has joined #ruby
10:29
ur5us has joined #ruby
10:30
kiki_lamb has joined #ruby
10:31
crankharder has quit [Ping timeout: 246 seconds]
10:32
giorgian has quit [Ping timeout: 276 seconds]
10:35
kiki_lamb has quit [Ping timeout: 276 seconds]
10:36
crankharder has joined #ruby
10:37
roadie has joined #ruby
10:44
some14u has joined #ruby
10:46
some14u has quit [Client Quit]
10:49
foxxx0 has quit [Quit: foxxx0]
10:50
foxxx0 has joined #ruby
11:05
kiki_lamb has joined #ruby
11:11
kiki_lamb has quit [Ping timeout: 272 seconds]
11:28
giorgian has joined #ruby
11:33
giorgian has quit [Ping timeout: 256 seconds]
11:44
crankharder has quit [Ping timeout: 272 seconds]
11:49
ur5us has quit [Quit: Leaving]
11:51
ur5us has joined #ruby
11:57
ur5us has quit [Ping timeout: 250 seconds]
11:57
kiki_lamb has joined #ruby
11:59
giorgian has joined #ruby
12:02
Ziyan has joined #ruby
12:03
kiki_lamb has quit [Ping timeout: 272 seconds]
12:04
giorgian has quit [Ping timeout: 248 seconds]
12:08
Ziyan has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
12:13
crankharder has joined #ruby
12:14
kiki_lamb has joined #ruby
12:15
<
havenwood >
rapha: yeah, when "dark_white" is the obvious choice!
12:17
protektwar has quit [Ping timeout: 260 seconds]
12:18
giorgian has joined #ruby
12:19
kiki_lamb has quit [Ping timeout: 256 seconds]
12:22
giorgian has quit [Ping timeout: 240 seconds]
12:25
crankharder has quit [Ping timeout: 272 seconds]
12:26
Ziyan has joined #ruby
12:32
Ziyan has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
12:36
giorgian has joined #ruby
12:38
crankharder has joined #ruby
12:41
giorgian has quit [Ping timeout: 260 seconds]
12:47
kiki_lamb has joined #ruby
12:48
some14u has joined #ruby
12:52
kiki_lamb has quit [Ping timeout: 256 seconds]
12:55
some14u has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
12:57
some14u has joined #ruby
12:59
some14u has quit [Client Quit]
12:59
some14u has joined #ruby
13:01
some14u has quit [Client Quit]
13:12
Ziyan has joined #ruby
13:15
Rounin has joined #ruby
13:16
kiki_lamb has joined #ruby
13:21
some14u has joined #ruby
13:25
some14u has quit [Client Quit]
13:36
roadie has quit [Ping timeout: 250 seconds]
13:36
giorgian has joined #ruby
13:42
giorgian has quit [Ping timeout: 276 seconds]
13:43
crankharder has quit [Ping timeout: 272 seconds]
13:47
crankharder has joined #ruby
13:51
crankharder has quit [Ping timeout: 240 seconds]
13:51
kaivai has joined #ruby
13:52
crankharder has joined #ruby
13:54
some14u has joined #ruby
13:55
roadie has joined #ruby
13:56
some14u has quit [Client Quit]
13:57
crankharder has quit [Ping timeout: 256 seconds]
13:58
crankharder has joined #ruby
14:00
roadie has quit [Ping timeout: 248 seconds]
14:03
crankharder has quit [Ping timeout: 276 seconds]
14:11
crankharder has joined #ruby
14:21
Al2O3 has quit [Ping timeout: 276 seconds]
14:23
hololeap has joined #ruby
14:26
roadie has joined #ruby
14:30
Sheilong has joined #ruby
14:31
crankharder has quit [Ping timeout: 246 seconds]
14:31
roadie has quit [Ping timeout: 250 seconds]
14:37
giorgian has joined #ruby
14:42
WhereIsMySpoon has joined #ruby
14:42
giorgian has quit [Ping timeout: 246 seconds]
14:44
roadie has joined #ruby
14:46
smp has quit [Ping timeout: 240 seconds]
14:46
smp_ has joined #ruby
14:47
smp_ is now known as smp
14:48
WhereIsMySpoon has quit [Ping timeout: 246 seconds]
14:50
crankharder has joined #ruby
14:51
roadie has quit [Ping timeout: 250 seconds]
15:02
roadie has joined #ruby
15:03
havenwood has joined #ruby
15:08
roadie has quit [Ping timeout: 260 seconds]
15:19
hololeap_ has joined #ruby
15:20
hololeap has quit [Ping timeout: 240 seconds]
15:28
hololeap_ is now known as hololeap
15:29
roadie has joined #ruby
15:34
roadie has quit [Ping timeout: 250 seconds]
15:38
giorgian has joined #ruby
15:39
crankharder has quit [Quit: Lost terminal]
15:43
giorgian has quit [Ping timeout: 256 seconds]
15:45
roadie has joined #ruby
15:46
Thanzex6 has joined #ruby
15:49
Thanzex has quit [Ping timeout: 272 seconds]
15:49
Thanzex6 is now known as Thanzex
15:50
roadie` has joined #ruby
15:54
roadie has quit [Ping timeout: 240 seconds]
16:37
Sankalp- has joined #ruby
16:38
Sankalp has quit [Ping timeout: 276 seconds]
16:38
Sankalp- is now known as Sankalp
16:39
giorgian has joined #ruby
16:41
roadie` has quit [Ping timeout: 260 seconds]
16:44
giorgian has quit [Ping timeout: 248 seconds]
17:04
fef has joined #ruby
17:06
roadie` has joined #ruby
17:10
roadie` has quit [Ping timeout: 240 seconds]
17:23
gramps has joined #ruby
17:23
roadie` has joined #ruby
17:29
smp_ has joined #ruby
17:30
smp has quit [Ping timeout: 276 seconds]
17:30
smp_ is now known as smp
17:33
<
rapha >
that was a nice one
17:40
giorgian has joined #ruby
17:40
roadie` has quit [Ping timeout: 240 seconds]
17:41
roadie` has joined #ruby
17:45
giorgian has quit [Ping timeout: 272 seconds]
17:46
hololeap has quit [Ping timeout: 240 seconds]
17:47
moo has quit [Quit: moo]
17:48
roadie` has quit [Quit: ERC (IRC client for Emacs 25.3.50.1)]
17:48
moo has joined #ruby
18:02
___nick___ has joined #ruby
18:03
___nick___ has quit [Client Quit]
18:05
___nick___ has joined #ruby
18:11
giorgian has joined #ruby
18:16
giorgian has quit [Ping timeout: 248 seconds]
18:28
Sankalp has quit [Ping timeout: 246 seconds]
18:31
dstein64- has joined #ruby
18:33
Sankalp has joined #ruby
18:35
dstein64 has quit [Ping timeout: 260 seconds]
18:35
dstein64- is now known as dstein64
18:36
ua_ has quit [Ping timeout: 276 seconds]
18:41
giorgian has joined #ruby
18:43
some14u has joined #ruby
18:45
WhereIsMySpoon has joined #ruby
18:46
some14u has quit [Client Quit]
18:46
some14u has joined #ruby
18:46
giorgian has quit [Ping timeout: 256 seconds]
18:47
some14u has quit [Client Quit]
18:48
John_Ivan has joined #ruby
18:48
ua_ has joined #ruby
18:48
<
John_Ivan >
doesn't one find it a matter of annoyance how Ruby on Rails has a direct strong dependency on NodeJS and Yarn? ;/
18:49
<
John_Ivan >
you can't build a pure RoR stack without needing nodejs for the back end.
18:50
WhereIsMySpoon has quit [Ping timeout: 276 seconds]
18:56
<
ox1eef >
as far as i know, those features can be opt-out at the command line. the default stack requires them tho, and i think it makes sense for the time being.
18:57
<
ox1eef >
i heard rails 7 is pulling away from webpack, and that type of development.
19:09
oxfuxxx has joined #ruby
19:12
<
John_Ivan >
hmm. I see.
19:13
oxfuxxx has quit [Ping timeout: 256 seconds]
19:14
oxfuxxx has joined #ruby
19:18
hololeap has joined #ruby
19:19
WhereIsMySpoon has joined #ruby
19:19
oxfuxxx has quit [Ping timeout: 272 seconds]
19:24
WhereIsMySpoon has quit [Ping timeout: 256 seconds]
19:25
oxfuxxx has joined #ruby
19:30
oxfuxxx has quit [Ping timeout: 276 seconds]
19:39
smp has joined #ruby
19:42
giorgian has joined #ruby
19:42
some14u has joined #ruby
19:43
Tempesta_ has joined #ruby
19:44
Tempesta has quit [Read error: Connection reset by peer]
19:46
hololeap has quit [Ping timeout: 240 seconds]
19:47
giorgian has quit [Ping timeout: 246 seconds]
19:48
hololeap has joined #ruby
19:53
dionysus69 has joined #ruby
20:04
___nick___ has quit [Ping timeout: 250 seconds]
20:07
fef has quit [Ping timeout: 240 seconds]
20:09
oxfuxxx has joined #ruby
20:13
giorgian has joined #ruby
20:14
oxfuxxx has quit [Ping timeout: 250 seconds]
20:15
_ht has quit [Remote host closed the connection]
20:17
oxfuxxx has joined #ruby
20:22
some14u has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
20:23
oxfuxxx has quit [Ping timeout: 246 seconds]
20:26
some14u has joined #ruby
20:27
weaksauce has joined #ruby
20:33
Astra4 has joined #ruby
20:34
some14u has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
20:35
some14u has joined #ruby
20:36
oxfuxxx has joined #ruby
20:43
oxfuxxx has quit [Ping timeout: 276 seconds]
20:46
oxfuxxx has joined #ruby
20:51
oxfuxxx has quit [Ping timeout: 276 seconds]
21:02
Sankalp has quit [Ping timeout: 272 seconds]
21:02
Sankalp has joined #ruby
21:03
oxfuxxx has joined #ruby
21:05
<
Astra4 >
Hello everyone
21:06
<
Astra4 >
I'm learning Ruby and I have a problem I can't solve
21:06
<
Astra4 >
Time#strftime does not pick up on the machine's locale settings
21:07
<
Astra4 >
and I checked the documentation, it seems there isn't anything that correlates to setlocale
21:08
<
ccooke >
Astra4: Where are you getting the Time object from that you're formatting?
21:08
<
Astra4 >
May I post some screenshot links?
21:08
<
ccooke >
Time objects contain their timezone (because you might be dealing with times from many different timezones)
21:09
<
Astra4 >
Timezone support is perfect, so is the support for Unicode strings
21:09
<
ccooke >
Generally pastebin-style sharing is recommended - text works everywhere
21:10
<
ccooke >
(gist.github.com is recommended in the topic, FWIW)
21:12
<
ruby[bot] >
Astra4: we in #ruby do not like pastebin.com, it loads slowly for most, has ads which are distracting and has terrible formatting. Please use
https://gist.github.com
21:12
<
Astra4 >
But I don't have a github account for gist
21:13
oxfuxxx has quit [Ping timeout: 276 seconds]
21:13
<
Astra4 >
The pastebin I posted is in PHP
21:13
<
Astra4 >
Now I want to do the same thing in Ruby
21:14
Thanzex has quit [Read error: Connection reset by peer]
21:14
<
Astra4 >
But there is no way to set the locale
21:14
Thanzex has joined #ruby
21:14
<
Astra4 >
Technically the LC_* variables are read from the environment
21:14
<
Astra4 >
But it does not affect the Time class
21:15
<
Astra4 >
LC_ALL=az_IR.UTF-8 ruby -e 'puts Time.now.strftime("%A")'
21:15
<
Astra4 >
outputs Sunday to the terminal
21:16
<
weaksauce >
that's php
21:17
<
Astra4 >
Yes. I'm looking for the corresponding functionality in Ruby
21:19
oxfuxxx has joined #ruby
21:21
twosuns has joined #ruby
21:24
hololeap has quit [Ping timeout: 240 seconds]
21:24
<
weaksauce >
Astra4 doesn't seem to have that ability
21:25
<
weaksauce >
not sure how much c you know but yeah it's hard coded
21:25
<
weaksauce >
which is a bit surprising considering matz is japanese
21:26
<
Astra4 >
Yeah, I know C. I thought it is a binding to the strftime function from C
21:26
<
Astra4 >
which respects the locale
21:26
oxfuxxx has quit [Ping timeout: 272 seconds]
21:26
<
leah2 >
shell out to date(1) :p
21:27
<
Astra4 >
But it's not just Time that's affected
21:28
<
Astra4 >
If I'm guessing correctly, it will not respect LC_NUMERIC, so the Kernel#sprintf will not respect it too
21:28
WhereIsMySpoon has joined #ruby
21:29
<
Astra4 >
(technically i can shell that out to printf :') )
21:29
<
leah2 >
that's a feature tho :p
21:30
oxfuxxx has joined #ruby
21:31
<
Astra4 >
LC_ALL=az_IR.UTF-8 ruby -e 'puts `date +%A`'
21:31
<
Astra4 >
works correctly
21:31
<
weaksauce >
I wonder why they did that
21:32
<
Astra4 >
portability??
21:33
<
Astra4 >
setlocale is available in almost all major scripting languages
21:33
<
Astra4 >
I just tested perl, python, and php
21:34
<
Astra4 >
They all respect LC_*
21:34
<
Astra4 >
and have functions to change the locale of the program mid-execution
21:35
<
weaksauce >
yeah seems a weird omission to me. I guess they expect you to use some other function or a gem or something for that
21:35
WhereIsMySpoon has quit [Ping timeout: 276 seconds]
21:36
<
Astra4 >
During my searches, i stumbled across a few gems and posts
21:36
<
Astra4 >
this seems to solve the problem
21:36
<
Astra4 >
But it's just odd to pull Rails, just to change the locale (rails-i18n)
21:36
oxfuxxx has quit [Ping timeout: 240 seconds]
21:37
<
Astra4 >
and the thing that baffles me the most is that Ruby's interface to system is very well done in core and stdlib
21:38
<
Astra4 >
this has been my only problem so far
21:38
<
Astra4 >
everything else is just clean and elegant
21:40
Sheilong has quit [Quit: Connection closed for inactivity]
21:40
<
weaksauce >
do you need all of rails? you could just add activesupport
21:43
w\W has joined #ruby
21:43
<
Astra4 >
This is the gem that provides the internationalization support
21:45
<
weaksauce >
it doesn't seem like it does it for you but it's just a cursory look
21:45
<
weaksauce >
you have to provide locale files
21:45
<
Astra4 >
It has builtin locales
21:46
<
weaksauce >
ah cool i didn't delve too deep
21:46
<
Astra4 >
What I was thinking, was opening the Time class and changing strftime's behavior
21:47
<
Astra4 >
But that way I can only add support for the language I'm currently working on in the application
21:47
<
Astra4 >
I found a gem called locale
21:48
<
Astra4 >
I couldn't get it to read system locale's, but I'm still testing
21:51
some14u has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
21:51
twosuns has quit [Quit: ...]
21:51
<
weaksauce >
something there might grab you
21:54
<
Astra4 >
Thanks. Checking it now. 'rails-i18n' has a hard dependency on 'rails'
21:54
<
Astra4 >
testing 'i18n' from the same author right now
22:03
<
Astra4 >
The 'i18n' gem worked correctly, but does not have the default locale data available in 'rails-i18n'
22:04
<
Astra4 >
After providing the default locale data, it works as expected
22:05
<
Astra4 >
I18n.l Time.now, format: '%A'
22:06
<
Astra4 >
Thanks everyone <3
22:06
<
Astra4 >
BTW are there any plans for system locale support to be added to the core in the future?
22:07
<
weaksauce >
doubtful but you could send a message to the dev list
22:07
<
weaksauce >
or search for it
22:07
<
Astra4 >
And since I don't have access to JRuby, does JRuby's Time class map to Java's standard library?
22:07
<
Astra4 >
or is the behavior similar to MRI?
22:08
<
weaksauce >
I would think it maps to the java version but I am just guessing
22:08
<
Astra4 >
Thanks a lot <3
22:11
dionysus69 has quit [Ping timeout: 246 seconds]
22:25
dionysus69 has joined #ruby
22:33
giorgian has quit [Ping timeout: 250 seconds]
22:52
dionysus69 has quit [Ping timeout: 240 seconds]
22:59
giorgian has joined #ruby
23:03
giorgian has quit [Ping timeout: 240 seconds]
23:15
Astra4 has quit [Quit: Client closed]
23:32
WhereIsMySpoon has joined #ruby
23:39
WhereIsMySpoon has quit [Ping timeout: 272 seconds]
23:58
WhereIsMySpoon has joined #ruby
23:58
bastienleonard has quit [Quit: WeeChat 3.5]