REBOL3 tracker
  0.9.12 beta
Ticket #0001411 User: anonymous

Project:



rss
TypeBug Statusdismissed Date3-Jan-2010 08:39
Versionalpha 95 CategoryDatatype Submitted bymeijeru
PlatformAll Severityminor Prioritynormal

Summary Time-zone specified as integer does not work
Description The documentation states that the time-zone on a date can be indicated by an integer (interpreted as number of hours). This does not work. The : sign is needed.
Example code
>> 3-Jan-2010/10:00+2
== 3-Jan-2010/10:00
>> 3-Jan-2010/10:00+2:0
== 3-Jan-2010/10:00+2:00

Assigned ton/a Fixed in- Last Update21-Sep-2010 21:38


Comments
(0001952)
Carl
4-Feb-2010 14:49

There's an issue here. Integer timezone was for this form to be allowed:

>> 3-Jan-2010/10:00+200

considered identical to:

>> 3-Jan-2010/10:00+2:00

So, this requires discussion and definition.
(0001958)
meijeru
4-Feb-2010 18:34

My contribution to the discussion: if +200 was to mean +2:00, this was never documented -- the REBOL 2 documentation suggests 6 == 6:00 (although the literal text of the example contradicts this), and does not offer an example like 200; the REBOL 3 documentation is a copy of the REBOL 2 one in that respect. So, effectively there is nothing against suppressing this feature entirely. The principle of least surprise would apply, at least for me.
(0002516)
Carl
21-Sep-2010 21:38

As of A108, an integer is assumed to be HHMM format.

Date User Field Action Change
21-Sep-2010 21:38 carl Comment : 0002516 Added -
21-Sep-2010 21:37 carl Status Modified problem => dismissed
4-Feb-2010 18:34 meijeru Comment : 0001958 Added -
4-Feb-2010 14:49 carl Comment : 0001952 Added -
4-Feb-2010 14:45 carl Status Modified reviewed => problem
12-Jan-2010 21:05 carl Code Modified -
12-Jan-2010 21:05 carl Status Modified submitted => reviewed
3-Jan-2010 08:39 meijeru Ticket Added -