# BugetService ## 使用工具 minitest + mocha https://5xruby.tw/posts/minitest_with_mocha/ minitest https://github.com/seattlerb/minitest mocha https://github.com/freerange/mocha ## User Story { '201912' : 310 '202001' : 31 '202004': 0 '202005': 310, '202006': 3000, '202007': 31, } 查整個月 ('20200501', '20200531') => 310 查一天 ('20200501', '20200501') => 10 查1個月多天 ('20200501', '20200503') => 30 查跨月(2個月) ('2020501', '20200615') => 1810 查跨月(3個月) ('20200531', '20200701') => 3011 起始日期大於結束日期 ('20200502', '20200501') => 0 跨年 ('20191231', '20200101') => 11
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up