             "label": "Loyer"
             "raw": "Loyer habitation"
             "amount": "-300"
-            "rdate": generateDate 4, 4
+            "rdate": generateDate 4, 4, now.month(), now.month()
             "account": account
         }
 
     if n < 15
         [label, raw] = randomLabelPositive()
         amount = rand(100, 800) + rand(0, 100) / 100
-        rdate = generateDate 0, moment().date()
+        rdate = generateDate 1, moment().date(), 0, now.month()
         return {
             label: label
             raw: raw


    [label, raw] = randomLabel()
    amount = -rand(0, 60) + rand(0, 100) / 100
    rdate = generateDate 0, moment().date()
    return {
        label: label
        raw: raw

randomLabelPositive = () ->
    return randomLabelsPositive[rand 0, randomLabelsPositive.length]

generateDate = (lowDay, highDay, lowMonth, highMonth) ->
    moment()
        .month(rand(lowMonth, highMonth))
        .date(rand(lowDay, highDay))
        .format('YYYY-MM-DDT00:00:00.000[Z]')

generateOne = (account) ->
    n = rand 0, 100

    now = moment()

    if n < 2
        # on 4th of Month
