World-Three-Technologies / Masxaro-Prototype

Other
8 stars 4 forks source link

Time searching issue #31

Closed yaxing closed 13 years ago

yaxing commented 13 years ago

Hi,

Please be noticed that when performing time searching, if you set end date without time, eg. 2011-08-07, then the default value would be 2011-08-07 00:00:00, therefore the searching result would not include receipts inserted on 08-07 after 00:00:00. Therefore, you may want to plus 1 to end date before searching.

For example, if you want to get last 7 days receipts from 2011-08-07 (including current day's 08-07), then you need to set parameters as:

start=>2011-08-01 end=>2011-08-08

yichaoyu commented 13 years ago

Mobile end adjusted ------Original Message------ From: yaxing To: yichao@masxaro.com Subject: [Masxaro-Prototype] Time searching issue (#31) Sent: Aug 7, 2011 1:12 AM

Hi,

Please be noticed that when performing time searching, if you set end date without time, eg. 2011-08-07, then the default value would be 2011-08-07 00:00:00, therefore the searching result would not include receipts inserted on 08-07 after 00:00:00. Therefore, you may want to plus 1 to end date before searching.

For example, if you want to get last 7 days receipts from 2011-08-07 (including current day's 08-07), then you need to set parameters as:

start=>2011-08-01 end=>2011-08-08

Reply to this email directly or view it on GitHub: https://github.com/gpryzby-wtt/Masxaro-Prototype/issues/31

Sent via BlackBerry by AT&T