Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
flexydial
/
hdfc
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
a7a53d71
authored
2018-06-08 06:46:05 +0000
by
Yashwant
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Login Details Time Format in Indian Format
1 parent
3f78fed8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
application/app/Http/Controllers/DialerController.php
application/app/Http/Controllers/DialerController.php
View file @
a7a53d7
...
...
@@ -1018,8 +1018,10 @@ public function show($id)
$user_login_datetime
=
UserLog
::
where
(
'user_id'
,
$userlogin_id
)
->
orderBy
(
'id'
,
'desc'
)
->
skip
(
1
)
->
take
(
1
)
->
get
();
foreach
(
$user_login_datetime
as
$user_login_datetime_key
=>
$user_login_datetime_val
)
{
$data
.=
"<h5 align='right'><span class='glyphicon glyphicon-user'></span>Last Login Details :
$user_login_datetime_val->updated_at
</h5><br>"
;
{
$last_login_details
=
date
(
'Y-m-d H:i:s'
,
strtotime
(
'+5 hour +30 minutes'
,
strtotime
(
$user_login_datetime_val
->
updated_at
)));
$data
.=
"<h5 align='right'><span class='glyphicon glyphicon-user'></span>Last Login Details :
$last_login_details
</h5><br>"
;
}
/* Code for last login details Flexydial Security Patch*/
//code end
...
...
Write
Preview
Styling with
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment