add assets to bucket group by day
This commit is contained in:
@@ -347,7 +347,7 @@ export class AssetStore {
|
||||
const updatedBuckets = new Set<AssetBucket>();
|
||||
|
||||
for (const asset of assets) {
|
||||
const timeBucket = DateTime.fromISO(asset.fileCreatedAt).toUTC().startOf('month').toString();
|
||||
const timeBucket = DateTime.fromISO(asset.fileCreatedAt).toUTC().startOf('day').toString();
|
||||
let bucket = this.getBucketByDate(timeBucket);
|
||||
|
||||
if (!bucket) {
|
||||
|
||||
Reference in New Issue
Block a user