all repos — min @ 5cf62b0c55e466b9ff9f47aadeaeb88f8993f541

A small but practical concatenative programming language.

tests/time.min

 1
 2
 3
 4
 5
 6
 7
 8
 9
 10
 11
 12
 13
 14
 15
 16
 17
'test load
'test import

"time" describe

  (timestamp 1464951736 >) assert

  (now 1464951736 >) assert

  (1464951736 datetime "2016-06-03T13:02:16Z" ==) assert

  (1464951736 "yy-MM-dd" tformat "16-06-03" ==) assert

  (1464951736 timeinfo 'second dget 16 ==) assert

  report
  clear-stack