shpp / programming.org.ua

https://programming.org.ua/
0 stars 1 forks source link

implement ability to setup copyright in more dynamic way #59

Closed ihor-bobyr closed 1 year ago

ihor-bobyr commented 1 year ago

https://github.com/shpp/programming.org.ua/commit/69e9c225d2c818e5ec622e6fa4052d4bccb93078

ihor-bobyr commented 1 year ago

@kateboyko would it be ok, if I setup this date in build time?

k-boiko commented 1 year ago

Interesting question. I think no because it will require to make a build each year on 1st of January, and it's better to not rely on humans here :)

ihor-bobyr commented 1 year ago

Interesting question. I think no because it will require to make a build each year on 1st of January, and it's better to not rely on humans here :)

We can go with "javascript/runtime" solution, but then we will be dependent on user computer time, if it is ok, I will proceed in that way?

k-boiko commented 1 year ago

Discussed with Roman and decided to make both ways: firstly calculate in build time and then replace it on client side to real date if needed

ihor-bobyr commented 1 year ago

Discussed with Roman and decided to make both ways: firstly calculate in build time and then replace it on client side to real date if needed

okay, will do this way