Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request #651 from metacpan/mickey/fix_profile_update
Fix profile update - pass proper 'updated' value
  • Loading branch information
mickeyn committed May 17, 2017
2 parents 415adf6 + 0f11158 commit a57a72c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/MetaCPAN/Server/Controller/User.pm
Expand Up @@ -92,7 +92,7 @@ sub profile_PUT {
gravatar_url profile blog
donation city region country
location extra perlmongers);
$profile->{updated} = DateTime->now;
$profile->{updated} = DateTime->now->iso8601;
my @errors = $c->model('CPAN::Author')->new_document->validate($profile);

if (@errors) {
Expand Down

0 comments on commit a57a72c

Please sign in to comment.