https://twill.io logo
Join DiscordCommunities
Powered by
# ❓questions
  • i

    ifox

    05/20/2021, 2:31 PM
    and for that route return the edit form
  • d

    Dmi3yy

    05/20/2021, 2:31 PM
    thanks
  • b

    Bubumeister

    05/20/2021, 3:00 PM
    https://discord.com/channels/811936425858695198/811986546503843850/844934825693544449
  • d

    Dmi3yy

    05/20/2021, 4:54 PM
    what need do for work activity on dashboard ? https://tppr.me/a8Cud
  • d

    Dmi3yy

    05/20/2021, 4:54 PM
    https://tppr.me/t7a7T
  • d

    Dmi3yy

    05/20/2021, 4:55 PM
    set to true, in config/twill.php but after do some with page not see changes in activity
  • d

    Dmi3yy

    05/20/2021, 5:01 PM
    and in db activity log present https://tppr.me/z261W
  • r

    Rayderxx

    05/20/2021, 5:12 PM
    Change program with the model path
  • r

    Rayderxx

    05/20/2021, 5:13 PM
    App\Models\Program
  • r

    Rayderxx

    05/20/2021, 5:14 PM
    Copy code
    // module name if you added a morph map entry for it, otherwise FQCN of the model (eg. App\Models\Project)
  • i

    ifox

    05/20/2021, 5:35 PM
    or use
    morphmaps
    and thank me later 😉
  • d

    Dmi3yy

    05/21/2021, 7:35 AM
    thanks
  • d

    domihagen

    05/21/2021, 8:55 AM
    Hello Community 🙂 I need some help... Just wanted to updated to the latest release (2.2.1) and figured out, that the custom create forms are not used anymore. How can i fix that?
  • i

    ifox

    05/21/2021, 9:48 AM
    Hi @domihagen a fix will be issued today.
  • k

    Kirk Bushell

    05/21/2021, 9:48 AM
    Is there a bug with the datetime publishing I'm not aware of?
  • k

    Kirk Bushell

    05/21/2021, 9:48 AM
    I'm setting things in the UI, appears to be coming through in local time?
  • k

    Kirk Bushell

    05/21/2021, 9:48 AM
    shouldn't it be UTC?
  • d

    domihagen

    05/21/2021, 9:49 AM
    Hi @User thx! Just saw that this issue was already reported in #811936425858695201 🙂
  • k

    Kirk Bushell

    05/21/2021, 9:49 AM
    I've wondered why my publish dates haven't quite been right, and I think I now know why
  • i

    ifox

    05/21/2021, 9:50 AM
    @Kirk Bushell the UI is supposed to be local time but it saves using the timezone set in your laravel config, which should be UTC by default
  • k

    Kirk Bushell

    05/21/2021, 9:51 AM
    Hmmmm, lemme double check that then
  • k

    Kirk Bushell

    05/21/2021, 9:51 AM
    Yeah it's not working as I'd expect
  • i

    ifox

    05/21/2021, 9:52 AM
    ignore that, the date picker is localized, not timezone aware, it's using the laravel configured timezone. just waking up sorry
  • k

    Kirk Bushell

    05/21/2021, 9:52 AM
    I'm setting my article publish time to 8pm, which shoudl be AEST
  • k

    Kirk Bushell

    05/21/2021, 9:52 AM
    But ont he server, it's saying 8am
  • k

    Kirk Bushell

    05/21/2021, 9:52 AM
    which isn't UTC either
  • i

    ifox

    05/21/2021, 9:53 AM
    is your laravel timezone UTC?
  • k

    Kirk Bushell

    05/21/2021, 9:53 AM
    Yes
  • k

    Kirk Bushell

    05/21/2021, 9:53 AM
    the now() call is correct
  • k

    Kirk Bushell

    05/21/2021, 9:53 AM
    This is what I'm doing: dd($article->publish_start_date->format('Y-M-D h:i:s'), now()->format('Y-M-D h:i:s'))
1...91011...484Latest