What do you think is the reason?

|
itsvahid_ab 2020-03-16 09:48:03
then when you want to show it to user, get it from database convert it back to persian date and show user
sadeqi125 2020-03-16 09:48:31
no i whant defulte set created_at and Updated_at in shamsi date
itsvahid_ab 2020-03-16 09:55:18
sadeqi125 2020-03-16 09:48:31
no i whant defulte set created_at and Updated_at in shamsi date

https://stackoverflow.com/questions/48651379/override-created-at-value

Override created_at valueStack Overflow
I’m trying to insert date into created at but nothing worked

I tried to use create as normal

$this->create([ ‘product_id’ => “$id”, ‘shop_name’ => $shop,’created_at’ => $date ]);
I

itsvahid_ab 2020-03-16 09:55:26
https://laracasts.com/discuss/channels/laravel/override-created-at-value-from-eloquent-models-without-disabling-timestamps
itsvahid_ab 2020-03-16 09:55:36
take a look at these methods
sadeqi125 2020-03-16 09:55:58
itsvahid_ab 2020-03-16 09:55:36
take a look at these methods

ok dear

sadeqi125 2020-03-16 09:56:02
i check it
jjoek 2020-03-16 10:07:30
Install git on the machine and try composer install again.
If on ubuntu to install git run
sudo apt-get install git
amitshha 2020-03-16 10:21:38
laravel_discuss-29769.jpg

amitshha 2020-03-16 10:21:38
laravel_discuss-29768.jpg
please help me
mohittyagi99 2020-03-16 10:56:09
How can i crack PHPStorm 2019.3.3
mohittyagi99 2020-03-16 10:56:48
Sorry 2019.3.2
2020-03-16 11:24:58
mohittyagi99 2020-03-16 10:56:48
Sorry 2019.3.2

Softgozar.com

ouboros 2020-03-16 12:14:47
Did anyone use bitcoin full node?
Narayan Ji 2020-03-16 15:00:41
Need help to deployed laravel project on aws via docker
hitman_oo2 2020-03-16 15:00:47
Who has a deep understanding in configuration Dkim and setting up all the important aspects. Send me a message
Narayan Ji 2020-03-16 15:00:49
Help me?
pringal7 2020-03-16 15:56:54
The term Scaffolding roughly aims to a quick set up skeleton for an app or your project. The main purpose of Scaffolding is to speed your workflow rather than creating it new.
pringal7 2020-03-16 15:59:14
You’re welcome
hitman_oo2 2020-03-16 16:06:59
Is it possible to mask a dkim certificate
2020-03-16 16:09:15
hi I timed the following command in cmd
I have the following error
What do you think is the reason?

[SymfonyComponentDebugExceptionFatalErrorException]
Cannot redeclare class AddColumnsToUsersTable

stefan_ssv 2020-03-16 17:45:53
🅳🅰️🅽🆂 2020-03-14 19:36:29
is there anyone of you in this group already >=30 years old?

Me 33

stefan_ssv 2020-03-16 17:55:40
Lynda Lyn 2020-03-11 13:42:03

Composer dumpautoload

stefan_ssv 2020-03-16 17:57:49
Hey guys
I’m looking for english speaking team to practice my english
Ready to work for free
I have strong skills in laravel
stefan_ssv 2020-03-16 18:00:32
Narayan Ji 2020-03-16 15:00:41
Need help to deployed laravel project on aws via docker

Whats the problem?

zzzxox 2020-03-16 18:01:48
your english speaking skill is great !
stefan_ssv 2020-03-16 18:04:16
Implementing things from well specified tasks and having a code review at least
stefan_ssv 2020-03-16 18:06:21
I’ll be a free developer for team
stefan_ssv 2020-03-16 18:07:08
I think i have to be mentored, thats why i want my code to be reviewed by ultimately high skilled developer
stefan_ssv 2020-03-16 18:08:18
And for these benefits (english practicing and code reviewing) im ready ti work for free
RayhanYulanda 2020-03-16 18:20:39
$now = Carbon::now();
$events = Event::where(‘start_date’,’=’,$now->format(‘Y-m-d’))
->get([‘id’, ‘title’, ‘start_date’, ‘end_date’, ‘venue_name’]);

i’m trying to get start today without compare the time but it didnt work. but if i change = into >= it will appear the right result

RayhanYulanda 2020-03-16 18:21:14
i want to compare start_date which is datetime to now without compare time
stefan_ssv 2020-03-16 18:33:50
RayhanYulanda 2020-03-16 18:21:14
i want to compare start_date which is datetime to now without compare time

Ehat is Start_date column type?

AlaaDq 2020-03-16 18:36:57
hey
if we put this route in web route

Route::get(‘/{any?}’, function () {
return view(‘welcome’);
})->where(‘any’,’.*’);

how laravel know the api routes
it is not one of the any values

DesolatorMagno 2020-03-16 18:39:00
It doesn’t know.
AlaaDq 2020-03-16 18:40:19
but when we send request from front like vuejs
to an api route it works fine
DesolatorMagno 2020-03-16 18:40:56
They may have change the order, i dunno if the api routes are first in the list
DesolatorMagno 2020-03-16 18:42:53
if you put in the link localhost/user

and in the web.php you have it in this order
/user->name(‘user’)
/{any?}->name(‘any’)

you get in the user view, but if the order is inverse
/{any?}->name(‘any’)
/user->name(‘user’)

yo get into the any view

DesolatorMagno 2020-03-16 18:43:31
DesolatorMagno 2020-03-16 18:39:00
It doesn’t know.

But this stand, it doesn’t know the difference, it just check each one in order.

ouboros 2020-03-16 18:43:48
I need help about bitcoind and laravel integrations. I have written script on laravel for marketplace. it needs bitcoin full node. So i have questions and need help about it. I can pay for developers/system admins
AlaaDq 2020-03-16 18:45:53
public function map()
{
$this->mapApiRoutes();

$this->mapWebRoutes();

//
}

AlaaDq 2020-03-16 18:46:12
dose this detremine the order
DesolatorMagno 2020-03-16 18:46:25
invert that order and check again.
AlaaDq 2020-03-16 18:46:33
in route service provider
DesolatorMagno 2020-03-16 18:47:48
i think that php artisan route:list tell you the order, so you can try.
DesolatorMagno 2020-03-16 18:49:17
i think*, in any case just try manually.
AlaaDq 2020-03-16 18:49:55
ok
it still work
i will try that so
AlaaDq 2020-03-16 18:51:01
you are right
AlaaDq 2020-03-16 18:51:06
laravel_discuss-29829.jpg

AlaaDq 2020-03-16 18:51:13
the api became first
|