[SUBSCRIBER_DATE_ADDED] is wrong date

coltonfitzgerald

New Member
MailWizz 2.0 Tester
Hi there,

I'm trying to add a custom field to my subscribers for [DATE_ADDED], so I can segment the list based on when subscribers were added to the list.

When I create the custom field and set the default value to [SUBSCRIBER_DATE_ADDED], it just says 1970-1-1 as the date for every subscriber.
 

Attachments

  • Screen Shot 2021-06-14 at 10.58.03 AM.png
    Screen Shot 2021-06-14 at 10.58.03 AM.png
    32.4 KB · Views: 8
@coltonfitzgerald - I think I know what is going on, please download attached file and unzip it and make sure the resulting PHP file replaces the /apps/console/commands/SyncListsCustomFieldsCommand.php file.
Then add a new custom field with same default, this time when it syncs, it should be fine.
Let me know how it goes.
 

Attachments

  • SyncListsCustomFieldsCommand.php.zip
    3 KB · Views: 5
Thanks that worked.

By the way - have you considered adding a segmentation option for subscriber_date_added so we don't have to do the custom field?
 
Thanks that worked.
We found another issue with this, while it works in your case, please also take attached file and put it instead of /apps/common/models/ListField.php file.
By the way - have you considered adding a segmentation option for subscriber_date_added so we don't have to do the custom field?
We did yes. Will have it at some point.
 

Attachments

  • ListField.php.zip
    3.6 KB · Views: 2
Back
Top