mirror of
https://salsa.debian.org/dskoll/remind.git
synced 2026-04-21 16:52:58 +02:00
This commit is contained in:
+8
-8
@@ -3486,7 +3486,7 @@ REM AT 13:00PM MSG foo 13p
|
||||
|
||||
DEBUG +x
|
||||
SET x 0:00am + 0
|
||||
../tests/test.rem(625): Ill-formed time
|
||||
../tests/test.rem(625): Ill-formed time: `0:00am'
|
||||
SET x 1:00AM + 0
|
||||
01:00 + 0 => 01:00
|
||||
SET x 2:00am + 0
|
||||
@@ -3512,10 +3512,10 @@ SET x 11:00AM + 0
|
||||
SET x 12:00am + 0
|
||||
00:00 + 0 => 00:00
|
||||
SET x 13:00AM + 0
|
||||
../tests/test.rem(638): Ill-formed time
|
||||
../tests/test.rem(638): Ill-formed time: `13:00AM'
|
||||
|
||||
SET x 0:00pm + 0
|
||||
../tests/test.rem(640): Ill-formed time
|
||||
../tests/test.rem(640): Ill-formed time: `0:00pm'
|
||||
SET x 1:00PM + 0
|
||||
13:00 + 0 => 13:00
|
||||
SET x 2:00pm + 0
|
||||
@@ -3541,10 +3541,10 @@ SET x 11:00PM + 0
|
||||
SET x 12:00pm + 0
|
||||
12:00 + 0 => 12:00
|
||||
SET x 13:00PM + 0
|
||||
../tests/test.rem(653): Ill-formed time
|
||||
../tests/test.rem(653): Ill-formed time: `13:00PM'
|
||||
|
||||
SET x '2015-02-03@0:00am' + 0
|
||||
../tests/test.rem(655): Ill-formed time
|
||||
../tests/test.rem(655): Ill-formed time: '2015-02-03@0:00am'
|
||||
SET x '2015-02-03@1:00AM' + 0
|
||||
2015-02-03@01:00 + 0 => 2015-02-03@01:00
|
||||
SET x '2015-02-03@2:00am' + 0
|
||||
@@ -3570,10 +3570,10 @@ SET x '2015-02-03@11:00AM' + 0
|
||||
SET x '2015-02-03@12:00am' + 0
|
||||
2015-02-03@00:00 + 0 => 2015-02-03@00:00
|
||||
SET x '2015-02-03@13:00AM' + 0
|
||||
../tests/test.rem(668): Ill-formed time
|
||||
../tests/test.rem(668): Ill-formed time: '2015-02-03@13:00AM'
|
||||
|
||||
SET x '2015-02-03@0:00pm' + 0
|
||||
../tests/test.rem(670): Ill-formed time
|
||||
../tests/test.rem(670): Ill-formed time: '2015-02-03@0:00pm'
|
||||
SET x '2015-02-03@1:00PM' + 0
|
||||
2015-02-03@13:00 + 0 => 2015-02-03@13:00
|
||||
SET x '2015-02-03@2:00pm' + 0
|
||||
@@ -3599,7 +3599,7 @@ SET x '2015-02-03@11:00PM' + 0
|
||||
SET x '2015-02-03@12:00pm' + 0
|
||||
2015-02-03@12:00 + 0 => 2015-02-03@12:00
|
||||
SET x '2015-02-03@13:00PM' + 0
|
||||
../tests/test.rem(683): Ill-formed time
|
||||
../tests/test.rem(683): Ill-formed time: '2015-02-03@13:00PM'
|
||||
|
||||
# Test the ampm function
|
||||
set x ampm(0:12) + ""
|
||||
|
||||
Reference in New Issue
Block a user